Fix Business/CommonBugs#1 (expired session logout error)
This commit is contained in:
parent
bf76d3733c
commit
496b213a88
@ -6,7 +6,9 @@
|
|||||||
|
|
||||||
require_once __DIR__ . "/required.php";
|
require_once __DIR__ . "/required.php";
|
||||||
|
|
||||||
dieifnotloggedin();
|
if ($VARS['action'] !== "signout") {
|
||||||
|
dieifnotloggedin();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Redirects back to the page ID in $_POST/$_GET['source'] with the given message ID.
|
* Redirects back to the page ID in $_POST/$_GET['source'] with the given message ID.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user