diff options
-rw-r--r-- | src/store/modules/Authentication/AuthenticanStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/Authentication/AuthenticanStore.js b/src/store/modules/Authentication/AuthenticanStore.js index e08f5b03..07d5ee8b 100644 --- a/src/store/modules/Authentication/AuthenticanStore.js +++ b/src/store/modules/Authentication/AuthenticanStore.js @@ -52,8 +52,8 @@ const AuthenticationStore = { .then(() => router.go('/login')) .catch((error) => console.log(error)); }, - async checkPasswordChangeRequired(_, username) { - return await api + checkPasswordChangeRequired(_, username) { + api .get(`/redfish/v1/AccountService/Accounts/${username}`) .then(({ data: { PasswordChangeRequired } }) => PasswordChangeRequired) .catch((error) => console.log(error)); |