diff options
author | Sukanya Pandey <sukapan1@in.ibm.com> | 2020-04-28 17:48:28 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-06-17 23:48:38 +0300 |
commit | b1f559f03e3f464c1b8b19a9327158be0ecafe62 (patch) | |
tree | 6af8b850a9aebf58a2f4a08ac9832872e0f80cb3 /src/store/modules/Authentication | |
parent | 5918b48a0530a43a4dd9ee1a3f134846c948011e (diff) | |
download | webui-vue-b1f559f03e3f464c1b8b19a9327158be0ecafe62.tar.xz |
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/<userName>'
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: Ie54a54beff8c85bc9ac5af21c35edc481b34cf44
Diffstat (limited to 'src/store/modules/Authentication')
-rw-r--r-- | src/store/modules/Authentication/AuthenticanStore.js | 1 |
1 files changed, 1 insertions, 0 deletions
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: { |