020520 Sudden logout bugfix
This commit is contained in:
parent
93705ba3c8
commit
1b5a43e3d9
@ -57,7 +57,7 @@ call is not an AJAX request */
|
|||||||
if(!isset($_GET['ajax'])){
|
if(!isset($_GET['ajax'])){
|
||||||
if ($logedin){
|
if ($logedin){
|
||||||
$info = api_get("accounts/verify_credentials");
|
$info = api_get("accounts/verify_credentials");
|
||||||
if(!$info['display_name']){
|
if($info['error']){
|
||||||
header('Location: ./logout');
|
header('Location: ./logout');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user