summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 0433a327c..ca6fb20de 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -365,14 +365,9 @@ function auth_sendPassword($user,$password){
*/
function register(){
global $lang;
- global $conf;
if(!$_POST['save']) return false;
- //no open register? -> only admin allowed!
- if(!$conf['openregister'] &&
- auth_quickaclcheck('') != AUTH_ADMIN ) return false;
-
//clean username
$_POST['login'] = preg_replace('/.*:/','',$_POST['login']);
$_POST['login'] = cleanID($_POST['login']);