From 0beea4ca5ec8324aaf0e531bee883d7f4fb6b663 Mon Sep 17 00:00:00 2001 From: Nikhil Ashoka Date: Fri, 11 Apr 2025 13:42:01 +0530 Subject: [PATCH 1/2] Implemented Login page - Implemented Login page in Vue 3 - JIRA: https://jsw.ibm.com/browse/PFEBMC-2359 Signed-off-by: Nikhil Ashoka --- src/layouts/LoginLayout.vue | 21 +- src/store/api.js | 4 +- .../Authentication/AuthenticationStore.js | 69 ++-- src/views/Login/Login.vue | 349 +++++++++--------- 4 files changed, 208 insertions(+), 235 deletions(-) diff --git a/src/layouts/LoginLayout.vue b/src/layouts/LoginLayout.vue index 8c3c69bb54..a4c7eeb784 100644 --- a/src/layouts/LoginLayout.vue +++ b/src/layouts/LoginLayout.vue @@ -5,11 +5,7 @@ @@ -36,8 +24,11 @@ From 974d9cb2aae776797f484ca076192ac758d7fe31 Mon Sep 17 00:00:00 2001 From: Nikhil Ashoka Date: Fri, 11 Apr 2025 16:12:23 +0530 Subject: [PATCH 2/2] Implemented password hide and show feature - Implemented password hide and show feature in vue3. - Removed unwanted code --- src/store/modules/Authentication/AuthenticationStore.js | 1 - src/views/Login/Login.vue | 9 ++++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/store/modules/Authentication/AuthenticationStore.js b/src/store/modules/Authentication/AuthenticationStore.js index f060835f45..71a5980dee 100644 --- a/src/store/modules/Authentication/AuthenticationStore.js +++ b/src/store/modules/Authentication/AuthenticationStore.js @@ -79,7 +79,6 @@ export const AuthenticationStore = defineStore('authentication', { return api .post('/logout', { data: [] }, { headers: headers }) .then(() => { - this.setConsoleWindow(false); this.logoutRemove(); }) .catch((error) => { diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index 1e02325b74..5cacd7b4cd 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -43,14 +43,14 @@