aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--register.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/register.php b/register.php
index 1aeb6eb1d..68dd36da5 100644
--- a/register.php
+++ b/register.php
@@ -28,6 +28,12 @@
//----------------------------------------------------------- include
define('PHPWG_ROOT_PATH','./');
include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
+
+// +-----------------------------------------------------------------------+
+// | Check Access and exit when user status is not ok |
+// +-----------------------------------------------------------------------+
+check_status(ACCESS_NONE);
+
//----------------------------------------------------------- user registration
if (!$conf['allow_user_registration'])