他のエラーコードと合わせる
This commit is contained in:
parent
85eb2effb3
commit
73235e9d6a
|
@ -28,7 +28,7 @@ export const meta = {
|
|||
|
||||
wrongInitialPassword: {
|
||||
message: 'Initial password is incorrect.',
|
||||
code: 'INITIAL_PASSWORD_INCORRECT',
|
||||
code: 'INCORRECT_INITIAL_PASSWORD',
|
||||
id: '97147c55-1ae1-4f6f-91d6-e1c3e0e76d62',
|
||||
},
|
||||
},
|
||||
|
|
|
@ -73,7 +73,7 @@ function submit() {
|
|||
if (err.code === 'ACCESS_DENIED') {
|
||||
title = i18n.ts.permissionDeniedError;
|
||||
text = i18n.ts.operationForbidden;
|
||||
} else if (err.code === 'INITIAL_PASSWORD_INCORRECT') {
|
||||
} else if (err.code === 'INCORRECT_INITIAL_PASSWORD') {
|
||||
title = i18n.ts.permissionDeniedError;
|
||||
text = i18n.ts.incorrectPassword;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue