Commit fbe5c17f authored by Mike Sheldon's avatar Mike Sheldon

Clear language cookie when users log out

parent 5852a54b
......@@ -25,6 +25,7 @@ require_once($install_path . '/data/User.php');
if (isset($_COOKIE['session_id']) && $_GET['action'] == 'logout') {
setcookie('session_id', '', time() - 3600);
setcookie('lang', '', time() - 3600);
header('Location: index.php');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment