020520 Sudden logout bugfix

This commit is contained in:
Daisuke 2020-05-02 13:41:37 -05:00
parent 1b5a43e3d9
commit 6de44032b7

View File

@ -1,3 +1,11 @@
<?php
if ($logedin){
$info = api_get("accounts/verify_credentials");
if($info['error']){
header('Location: ./logout');
}
}
?>
<div class='element'> <div class='element'>
<div class='avatar' style='height:0px;'></div> <div class='avatar' style='height:0px;'></div>
<div class='post' style='text-align:left;'> <div class='post' style='text-align:left;'>