make 'admin' a safe user name
'admin' is a pretty common username that people try when installing; it was blacklisted because all of our admin panels were at /admin/*, which would conflict with the admin user's namespace. Changed the location of all admin panels to /panel/*, blacklisted the nickname 'panel', and allowed 'admin'. Tested with a fresh install; seems to work great.
This commit is contained in:
@@ -85,7 +85,7 @@ class UserFlagPlugin extends Plugin
|
||||
{
|
||||
$m->connect('main/flag/profile', array('action' => 'flagprofile'));
|
||||
$m->connect('main/flag/clear', array('action' => 'clearflag'));
|
||||
$m->connect('admin/profile/flag', array('action' => 'adminprofileflag'));
|
||||
$m->connect('panel/profile/flag', array('action' => 'adminprofileflag'));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user