]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/chk_login.php
Cookie code removed, rewritten, internal URLs are now relative (see LOAD_URL()),...
[mailer.git] / inc / modules / chk_login.php
index e53914bff563e9570a58b92d8751428ab68054c9..bcdddce43cd21005d4500044e69e580c09ad79d0 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('__SECURITY')) {
 OPEN_TABLE("500", "guest_login_header dashed", "center");
 OUTPUT_HTML("<br /><strong>".VALIDATING_LOGIN."</strong><br />");
 
-if (!empty($GLOBALS['userid']) && (isSessionVariableSet('u_hash')) && (isSessionVariableSet('lifetime'))) {
+if (!empty($GLOBALS['userid']) && (isSessionVariableSet('u_hash'))) {
        // Login failtures are supported since 0.4.7
        // Do we have 0.4.7 of sql_patches or later?
        $ADD = "";
@@ -61,7 +61,7 @@ if (!empty($GLOBALS['userid']) && (isSessionVariableSet('u_hash')) && (isSession
        SQL_FREERESULT($result);
 
        // Change to new theme
-       set_session("mxchange_theme", $data['curr_theme']);
+       set_session('mxchange_theme', $data['curr_theme']);
 
        // Remmeber login failtures if available
        if (GET_EXT_VERSION("sql_patches") >= "0.4.7") {