diff options
Diffstat (limited to 'actions/register.php')
-rw-r--r-- | actions/register.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/register.php b/actions/register.php index b404d844a..43a653b3f 100644 --- a/actions/register.php +++ b/actions/register.php @@ -13,6 +13,8 @@ require_once(dirname(dirname(__FILE__)) . "/engine/start.php"); global $CONFIG; + + action_gatekeeper(); // Get variables
$username = get_input('username');
@@ -22,6 +24,7 @@ $name = get_input('name');
$admin = get_input('admin'); + if (is_array($admin)) $admin = $admin[0]; if (!$CONFIG->disable_registration) |