New function fetchUserData() introduced to API, total rewrite (not all)
[mailer.git] / inc / modules / login.php
index d0918d5b12fda434fb44acbfabc1a8694923ba04..9545e43535d8ed762ec7a8f4ba0fdb195c14906f 100644 (file)
@@ -43,14 +43,6 @@ if (!defined('__SECURITY')) {
        $URL = 'modules.php?module=index';
        if (checkModulePermissions('login') == 'mem_only') $URL .= '&code=' . getCode('MODULE_MEM_ONLY') . '&mod=' . getModule();
        redirectToUrl($URL);
        $URL = 'modules.php?module=index';
        if (checkModulePermissions('login') == 'mem_only') $URL .= '&code=' . getCode('MODULE_MEM_ONLY') . '&mod=' . getModule();
        redirectToUrl($URL);
-}
-
-if ($GLOBALS['status'] != 'CONFIRMED') {
-       // If the status is different than confirmed move the user away from here
-       $errorCode = generateErrorCodeFromUserStatus($GLOBALS['status']);
-
-       // Load URL
-       redirectToUrl('modules.php?module=index&what=login&login=' . $errorCode);
 } // END - if
 
 // Disable block mode by default
 } // END - if
 
 // Disable block mode by default