他のエラーコードと合わせる

This commit is contained in:
kakkokari-gtyih 2024-09-26 12:36:33 +09:00
parent 85eb2effb3
commit 73235e9d6a
2 changed files with 2 additions and 2 deletions

View File

@ -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',
},
},

View File

@ -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;
}