This commit is contained in:
biglyderv 2024-12-02 07:59:45 -05:00
parent bf8e3ea138
commit 2b770fdab3
4 changed files with 18 additions and 6 deletions

View file

@ -23,5 +23,7 @@
return $username;
}
$username = auth($_COOKIE['token']);
if (array_key_exists('token',$_COOKIE)) {
$username = auth($_COOKIE['token']);
}
?>