aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares
diff options
context:
space:
mode:
Diffstat (limited to 'server/middlewares')
-rw-r--r--server/middlewares/validators/user-registrations.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/validators/user-registrations.ts b/server/middlewares/validators/user-registrations.ts
index fcf655a2c..47397391b 100644
--- a/server/middlewares/validators/user-registrations.ts
+++ b/server/middlewares/validators/user-registrations.ts
@@ -59,7 +59,7 @@ function ensureUserRegistrationAllowedFactory (signupMode: SignupMode) {
59 if (allowedResult.allowed === false) { 59 if (allowedResult.allowed === false) {
60 return res.fail({ 60 return res.fail({
61 status: HttpStatusCode.FORBIDDEN_403, 61 status: HttpStatusCode.FORBIDDEN_403,
62 message: allowedResult.errorMessage || 'User registration is not enabled, user limit is reached or registration requires approval.' 62 message: allowedResult.errorMessage || 'User registration is not allowed'
63 }) 63 })
64 } 64 }
65 65