From 81a5d1c5a585c4ba507d05f3d621b712b9dc238b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B8nstantine=20Kovalensky?= <45331093+kovalensky@users.noreply.github.com> Date: Tue, 21 Nov 2023 20:46:09 +0400 Subject: [PATCH] Disable invites by default (#1150) --- library/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/config.php b/library/config.php index ffd02ab2f..ebfa383d1 100644 --- a/library/config.php +++ b/library/config.php @@ -379,7 +379,7 @@ $bb_cfg['new_user_reg_restricted'] = false; // Disallow registration in below ho $bb_cfg['new_user_reg_interval'] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]; // Available hours $bb_cfg['reg_email_activation'] = true; // Demand to activate profile by email confirmation // Invites -$bb_cfg['invite_only'] = true; +$bb_cfg['invite_only'] = false; // Invite codes // Syntax: 'invite_code' => 'validity_period' // The 'validity_period' value is based on strtotime() function: https://www.php.net/manual/en/function.strtotime.php