mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-05 10:22:31 +01:00
fix incorrect error field
This commit is contained in:
parent
4e825cc4d3
commit
629451bbfd
@ -85,7 +85,7 @@ router.post(
|
||||
user = userTokenData.user;
|
||||
} catch {
|
||||
throw FieldErrors({
|
||||
password: {
|
||||
token: {
|
||||
message: req.t("auth:password_reset.INVALID_TOKEN"),
|
||||
code: "INVALID_TOKEN",
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user