1
0
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:
Puyodead1 2024-07-08 22:10:50 -04:00
parent 4e825cc4d3
commit 629451bbfd
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC

View File

@ -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",
},