From b1f559f03e3f464c1b8b19a9327158be0ecafe62 Mon Sep 17 00:00:00 2001 From: Sukanya Pandey Date: Tue, 28 Apr 2020 20:18:28 +0530 Subject: Profile settings page -To set the profile by setting password. -This commit adds a profile page which allows the user to change their password. In the future, the profile page will also contain user settings like language and timezone. The API called to change the user's password is '/redfish/v1/AccountService/Accounts/' Signed-off-by: Sukanya Pandey Change-Id: Ie54a54beff8c85bc9ac5af21c35edc481b34cf44 --- src/store/modules/Authentication/AuthenticanStore.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/store/modules/Authentication') diff --git a/src/store/modules/Authentication/AuthenticanStore.js b/src/store/modules/Authentication/AuthenticanStore.js index 7a0c5ba3..407c2b57 100644 --- a/src/store/modules/Authentication/AuthenticanStore.js +++ b/src/store/modules/Authentication/AuthenticanStore.js @@ -23,6 +23,7 @@ const AuthenticationStore = { }, logout() { Cookies.remove('XSRF-TOKEN'); + localStorage.removeItem('storedUsername'); } }, actions: { -- cgit v1.2.3