mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix: bug (#6684)
This commit is contained in:
parent
18791bfe2d
commit
824ad7f29e
@ -47,7 +47,7 @@ export class BasicAuth extends BaseAuth {
|
||||
const valid = await field.verify(password, user.password);
|
||||
if (!valid) {
|
||||
ctx.throw(401, ctx.t('The username/email or password is incorrect, please re-enter', { ns: namespace }), {
|
||||
code: 'INCORRECT_PASSWORD',
|
||||
internalCode: 'INCORRECT_PASSWORD',
|
||||
user,
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user