summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-07-29 18:41:49 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-07-29 18:41:49 +0300
commitc24891ebf16cf97eab0b152e0681a17874a83dc3 (patch)
tree68b88417f8f368bb58fc43b6b82d29b32e84174d
parent1a29e4eaedb41c7739c3794ba63d1f0ed1127757 (diff)
downloadwebui-vue-c24891ebf16cf97eab0b152e0681a17874a83dc3.tar.xz
fx vue navigate to js, login
-rw-r--r--src/views/_sila/Login/Login.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/_sila/Login/Login.vue b/src/views/_sila/Login/Login.vue
index e11f3468..b3bd37c8 100644
--- a/src/views/_sila/Login/Login.vue
+++ b/src/views/_sila/Login/Login.vue
@@ -129,9 +129,9 @@ export default {
})
.then((passwordChangeRequired) => {
if (passwordChangeRequired) {
- this.$router.push('/change-password');
+ window.location.href = '/change-password';
} else {
- this.$router.push('/');
+ window.location.href = '/';
}
})
.catch((error) => console.log(error))