mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 03:09:53 +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