mirror of
https://github.com/fosrl/pangolin.git
synced 2025-05-13 05:40:38 +01:00
parent
cc6800c791
commit
654ed46a46
1 changed files with 3 additions and 3 deletions
|
@ -78,7 +78,7 @@ export async function login(
|
||||||
}
|
}
|
||||||
return next(
|
return next(
|
||||||
createHttpError(
|
createHttpError(
|
||||||
HttpCode.BAD_REQUEST,
|
HttpCode.UNAUTHORIZED,
|
||||||
"Username or password is incorrect"
|
"Username or password is incorrect"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
@ -98,7 +98,7 @@ export async function login(
|
||||||
}
|
}
|
||||||
return next(
|
return next(
|
||||||
createHttpError(
|
createHttpError(
|
||||||
HttpCode.BAD_REQUEST,
|
HttpCode.UNAUTHORIZED,
|
||||||
"Username or password is incorrect"
|
"Username or password is incorrect"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
@ -129,7 +129,7 @@ export async function login(
|
||||||
}
|
}
|
||||||
return next(
|
return next(
|
||||||
createHttpError(
|
createHttpError(
|
||||||
HttpCode.BAD_REQUEST,
|
HttpCode.UNAUTHORIZED,
|
||||||
"The two-factor code you entered is incorrect"
|
"The two-factor code you entered is incorrect"
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue