mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 22:03:49 -07:00
refactor: Disallow registration functionality
This commit is contained in:
parent
83e42bc5db
commit
0513e0633d
1 changed files with 5 additions and 2 deletions
|
@ -417,8 +417,11 @@ $bb_cfg['last_visit_update_intrv'] = 3600; // sec
|
||||||
$bb_cfg['invalid_logins'] = 5; // Max incorrect password submits before showing captcha
|
$bb_cfg['invalid_logins'] = 5; // Max incorrect password submits before showing captcha
|
||||||
$bb_cfg['new_user_reg_disabled'] = false; // Disable registration of new users
|
$bb_cfg['new_user_reg_disabled'] = false; // Disable registration of new users
|
||||||
$bb_cfg['unique_ip'] = false; // Disallow registration from multiple IP addresses
|
$bb_cfg['unique_ip'] = false; // Disallow registration from multiple IP addresses
|
||||||
$bb_cfg['new_user_reg_restricted'] = false; // Disallow registration in below hours
|
$bb_cfg['new_user_reg_restricted'] = [ // Disallow registration in below hours
|
||||||
$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
|
'enabled' => false,
|
||||||
|
'start_time' => '22:30',
|
||||||
|
'end_time' => '08:00',
|
||||||
|
];
|
||||||
$bb_cfg['reg_email_activation'] = true; // Demand to activate profile by email confirmation
|
$bb_cfg['reg_email_activation'] = true; // Demand to activate profile by email confirmation
|
||||||
$bb_cfg['invites_system'] = [
|
$bb_cfg['invites_system'] = [
|
||||||
'enabled' => false,
|
'enabled' => false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue