mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Possible fix for signup being displayed when signup is deactivated.
This commit is contained in:
@@ -275,7 +275,7 @@ if($signup_imagecode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ((USER || ($pref['user_reg'] === 0) || (vartrue($pref['auth_method'],'e107') != 'e107')) && !getperms('0'))
|
if ((USER || ($pref['user_reg'] != 1) || (vartrue($pref['auth_method'],'e107') != 'e107')) && !getperms('0'))
|
||||||
{
|
{
|
||||||
header('location: '.e_HTTP.'index.php');
|
header('location: '.e_HTTP.'index.php');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user