020520 Sudden logout bugfix
This commit is contained in:
parent
1b5a43e3d9
commit
6de44032b7
@ -1,3 +1,11 @@
|
||||
<?php
|
||||
if ($logedin){
|
||||
$info = api_get("accounts/verify_credentials");
|
||||
if($info['error']){
|
||||
header('Location: ./logout');
|
||||
}
|
||||
}
|
||||
?>
|
||||
<div class='element'>
|
||||
<div class='avatar' style='height:0px;'></div>
|
||||
<div class='post' style='text-align:left;'>
|
||||
|
Loading…
Reference in New Issue
Block a user