From 379b9be2b99574fe4af4009b01128dba2c75f037 Mon Sep 17 00:00:00 2001 From: Yassine Doghri Date: Fri, 4 Nov 2022 10:19:52 +0000 Subject: [PATCH] fix(auth): disallow registration by default --- modules/Auth/Config/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Auth/Config/Auth.php b/modules/Auth/Config/Auth.php index 24ef0c89..369ffd38 100644 --- a/modules/Auth/Config/Auth.php +++ b/modules/Auth/Config/Auth.php @@ -74,7 +74,7 @@ class Auth extends ShieldAuth * -------------------------------------------------------------------- * Determines whether users can register for the site. */ - public bool $allowRegistration = true; + public bool $allowRegistration = false; /** * --------------------------------------------------------------------