diff options
| author | Malf Furious <m@lfurio.us> | 2017-02-05 21:46:36 -0500 |
|---|---|---|
| committer | Malf Furious <m@lfurio.us> | 2017-02-05 21:46:36 -0500 |
| commit | ce38fd96e1105c70b55196ae3b6ab612442c8b2f (patch) | |
| tree | ab18b31b2d59ffce20cae6456c13f17833b1b926 | |
| parent | 4ca23e48ee1d4503014868a25fd7cbe71e4bf067 (diff) | |
| download | scrott-ce38fd96e1105c70b55196ae3b6ab612442c8b2f.tar.gz scrott-ce38fd96e1105c70b55196ae3b6ab612442c8b2f.zip | |
Add redirect to forceful logout
While forcing a logout, we need to also redirect to the app root.
| -rw-r--r-- | app/class/user.class.php | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
