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:
Evan Prodromou
2011-01-23 10:18:35 -05:00
parent 39cf147a77
commit e53793edf4
13 changed files with 25 additions and 25 deletions

View File

@@ -154,7 +154,7 @@ class FacebookBridgePlugin extends Plugin
function onRouterInitialized($m)
{
// Always add the admin panel route
$m->connect('admin/facebook', array('action' => 'facebookadminpanel'));
$m->connect('panel/facebook', array('action' => 'facebookadminpanel'));
// Only add these routes if an application has been setup on
// Facebook for the plugin to use.