Fix expired session logout error (Business/CommonBugs#1)
This commit is contained in:
parent
25e1bbc3bd
commit
39a75a5b52
@ -8,7 +8,9 @@ require_once __DIR__ . "/lib/login.php";
|
|||||||
require_once __DIR__ . "/lib/userinfo.php";
|
require_once __DIR__ . "/lib/userinfo.php";
|
||||||
|
|
||||||
|
|
||||||
dieifnotloggedin();
|
if ($VARS['action'] !== "signout") {
|
||||||
|
dieifnotloggedin();
|
||||||
|
}
|
||||||
|
|
||||||
function returnToSender($msg, $arg = "") {
|
function returnToSender($msg, $arg = "") {
|
||||||
global $VARS;
|
global $VARS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user