mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-04 19:35:49 +00:00
fix incorrect error field
This commit is contained in:
@@ -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",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user