From b4d1fb8b8e6e6cdb7be76a2d4fa0d2b9a84f3ba2 Mon Sep 17 00:00:00 2001 From: Vitalii Lysak Date: Wed, 10 Aug 2022 15:46:15 +0300 Subject: SILABMC-236: upd layput for ReadOnly role --- src/views/_sila/Login/Login.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/views/_sila/Login') diff --git a/src/views/_sila/Login/Login.vue b/src/views/_sila/Login/Login.vue index b3bd37c8..db6a6a09 100644 --- a/src/views/_sila/Login/Login.vue +++ b/src/views/_sila/Login/Login.vue @@ -129,9 +129,13 @@ export default { }) .then((passwordChangeRequired) => { if (passwordChangeRequired) { - window.location.href = '/change-password'; + setTimeout(() => { + window.location.href = '/change-password'; + }, 1000); } else { - window.location.href = '/'; + setTimeout(() => { + window.location.href = '/'; + }, 1000); } }) .catch((error) => console.log(error)) -- cgit v1.2.3