Knowledgebase: Remember Me
How do I temporarily disable Remember Me Login for XCart?
Posted by Nick Poindexter on 04 March 2010 04:49 PM
The Remember Me module can be temporarily disabled by commenting out lines of code as indicated below. The module can be re-enabled by following these instructions in reverse, and removing the "#" comment.

Open include/check_useraccount.php

Find:
include $xcart_dir."/modules/Remember_Me/get_cookie.php";

REPLACE with:
#include $xcart_dir."/modules/Remember_Me/get_cookie.php";

Â
Open include/login.php

Find:
if ($login_type == "C" && $remember == "Y") { include $xcart_dir."/modules/Remember_Me/set_cookie.php"; }

REPLACE with:
#if ($login_type == "C" && $remember == "Y") { include $xcart_dir."/modules/Remember_Me/set_cookie.php"; }

Find:
include $xcart_dir."/modules/Remember_Me/reset_cookie.php";

REPLACE with:
#include $xcart_dir."/modules/Remember_Me/reset_cookie.php";

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: