From ce38fd96e1105c70b55196ae3b6ab612442c8b2f Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Sun, 5 Feb 2017 21:46:36 -0500 Subject: Add redirect to forceful logout While forcing a logout, we need to also redirect to the app root. --- app/class/user.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/class/user.class.php b/app/class/user.class.php index 8d7da45..fc969fa 100644 --- a/app/class/user.class.php +++ b/app/class/user.class.php @@ -141,6 +141,7 @@ class user extends agent ($_SESSION['userip'] != $_SERVER['REMOTE_ADDR'])) { self::setCurrent(); + location("/"); return NULL; } -- cgit v1.2.3