diff --git a/packages/core/src/lib/user.ts b/packages/core/src/lib/user.ts index 04a0fa526..ca3c2e229 100644 --- a/packages/core/src/lib/user.ts +++ b/packages/core/src/lib/user.ts @@ -48,7 +48,7 @@ export const verifyUserPassword = async (user: Nullable, password: string) assertThat(user, 'session.invalid_credentials'); const { passwordEncrypted, passwordEncryptionMethod } = user; - assertThat(passwordEncrypted && passwordEncryptionMethod, 'session.invalid_sign_in_method'); + assertThat(passwordEncrypted && passwordEncryptionMethod, 'session.invalid_credentials'); const result = await argon2Verify({ password, hash: passwordEncrypted });