summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/api/routes/auth/register.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/auth/register.ts b/src/api/routes/auth/register.ts
index f8bc6da2..247fa88f 100644
--- a/src/api/routes/auth/register.ts
+++ b/src/api/routes/auth/register.ts
@@ -229,7 +229,7 @@ router.post(
                                 throw FieldErrors({
                                         password: {
                                                 code: "PASSWORD_REQUIREMENTS_MIN_LENGTH",
-                                                message: req.t("auth:register.PASSWORD_REQUIREMENTS_MIN_LENGTH")
+                                                message: req.t("auth:register.PASSWORD_REQUIREMENTS_MIN_LENGTH", { min: register.password.minLength })
                                         }
                                 });
                         }