mirror of
https://github.com/moparisthebest/moparscape.org-smf
synced 2024-12-22 07:08:48 -05:00
Mods should not be able to register users
This commit is contained in:
parent
02b28e24c7
commit
d308e4b641
@ -332,9 +332,13 @@ function AdminMain()
|
||||
'file' => 'ManageRegistration.php',
|
||||
'function' => 'RegCenter',
|
||||
'icon' => 'regcenter.gif',
|
||||
'permission' => array('admin_forum', 'moderate_forum'),
|
||||
// xxx mods shouldn't be able to register users
|
||||
//orig: 'permission' => array('admin_forum', 'moderate_forum'),
|
||||
'permission' => array('admin_forum'),
|
||||
'subsections' => array(
|
||||
'register' => array($txt['admin_browse_register_new'], 'moderate_forum'),
|
||||
// xxx mods shouldn't be able to register users
|
||||
//orig: 'register' => array($txt['admin_browse_register_new'], 'moderate_forum'),
|
||||
'register' => array($txt['admin_browse_register_new'], 'admin_forum'),
|
||||
'agreement' => array($txt['registration_agreement'], 'admin_forum'),
|
||||
'reservednames' => array($txt['admin_reserved_set'], 'admin_forum'),
|
||||
'settings' => array($txt['settings'], 'admin_forum'),
|
||||
|
Loading…
Reference in New Issue
Block a user