mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-13 14:12:41 +01:00
🐛 fix EMAIL_ALREADY_REGISTERED error message
This commit is contained in:
parent
e23c82fff0
commit
26d7ed8368
@ -85,7 +85,7 @@ router.post(
|
|||||||
throw FieldErrors({
|
throw FieldErrors({
|
||||||
email: {
|
email: {
|
||||||
code: "EMAIL_ALREADY_REGISTERED",
|
code: "EMAIL_ALREADY_REGISTERED",
|
||||||
message: req.t("auth.register.EMAIL_ALREADY_REGISTERED")
|
message: req.t("auth:register.EMAIL_ALREADY_REGISTERED")
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user