diff --git a/packages/backend/src/server/api/endpoints/admin/accounts/create.ts b/packages/backend/src/server/api/endpoints/admin/accounts/create.ts index 5b046001e0..8d06ecfd44 100644 --- a/packages/backend/src/server/api/endpoints/admin/accounts/create.ts +++ b/packages/backend/src/server/api/endpoints/admin/accounts/create.ts @@ -27,8 +27,8 @@ export const meta = { }, wrongInitialPassword: { - message: 'Initial password is wrong.', - code: 'WRONG_INITIAL_PASSWORD', + message: 'Initial password is incorrect.', + code: 'INITIAL_PASSWORD_INCORRECT', id: '97147c55-1ae1-4f6f-91d6-e1c3e0e76d62', }, }, diff --git a/packages/frontend/src/pages/welcome.setup.vue b/packages/frontend/src/pages/welcome.setup.vue index bbf1391a1e..c824066bd3 100644 --- a/packages/frontend/src/pages/welcome.setup.vue +++ b/packages/frontend/src/pages/welcome.setup.vue @@ -73,7 +73,7 @@ function submit() { if (err.code === 'ACCESS_DENIED') { title = i18n.ts.permissionDeniedError; text = i18n.ts.operationForbidden; - } else if (err.code === 'WRONG_INITIAL_PASSWORD') { + } else if (err.code === 'INITIAL_PASSWORD_INCORRECT') { title = i18n.ts.permissionDeniedError; text = i18n.ts.incorrectPassword; }