@fy-/fws-vue 0.0.936 → 0.0.937

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -126,6 +126,7 @@ const userFlow = async (params: paramsType = { initial: false }) => {
126
126
  const actualReturnTo = response.value.data.redirect
127
127
  ? response.value.data.redirect
128
128
  : returnTo.value;
129
+ session.value = null;
129
130
  if (isExternalUrl(actualReturnTo)) {
130
131
  window.location.href = actualReturnTo;
131
132
  } else {
@@ -140,7 +141,6 @@ const userFlow = async (params: paramsType = { initial: false }) => {
140
141
  return;
141
142
  }
142
143
  if (response.value.data.redirect && response.value.data.complete) {
143
- session.value = null;
144
144
  router.push(
145
145
  response.value.data.redirect ? response.value.data.redirect : "/",
146
146
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "0.0.936",
3
+ "version": "0.0.937",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {