From c24891ebf16cf97eab0b152e0681a17874a83dc3 Mon Sep 17 00:00:00 2001 From: Vitalii Lysak Date: Fri, 29 Jul 2022 18:41:49 +0300 Subject: fx vue navigate to js, login --- src/views/_sila/Login/Login.vue | 4 ++-- 1 file 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)) -- cgit v1.2.3