summaryrefslogtreecommitdiff
path: root/src/store/modules/SecurityAndAccess
diff options
context:
space:
mode:
authorMaksim Zakharov <m.zakharov@IBS.RU>2022-09-07 16:11:29 +0300
committerMaksim Zakharov <m.zakharov@IBS.RU>2022-09-07 16:11:29 +0300
commitd20970e7b63511bc6800608a35407bf3712aa2f8 (patch)
treeef616d41bbefe3e4ef8becbf139c4b8c71f24bb9 /src/store/modules/SecurityAndAccess
parent6dc936d93e7792e61f4b118e6e6848874f52cc31 (diff)
downloadwebui-vue-d20970e7b63511bc6800608a35407bf3712aa2f8.tar.xz
fix user create
Diffstat (limited to 'src/store/modules/SecurityAndAccess')
-rw-r--r--src/store/modules/SecurityAndAccess/UserManagementStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/modules/SecurityAndAccess/UserManagementStore.js b/src/store/modules/SecurityAndAccess/UserManagementStore.js
index 1595ed9b..66466088 100644
--- a/src/store/modules/SecurityAndAccess/UserManagementStore.js
+++ b/src/store/modules/SecurityAndAccess/UserManagementStore.js
@@ -116,7 +116,7 @@ const UserManagementStore = {
console.log(error);
if (error.response) {
const codeRaw =
- error.response.data['Password@Message.ExtendedInfo'][0].Oem
+ error.response.data['Password@Message.ExtendedInfo'][0]?.Oem
?.OpenBMC?.ErrorMessage[0];
const code = codeRaw
? codeRaw.replace('BAD PASSWORD: ', '')