roles
This commit is contained in:
parent
bf8e3ea138
commit
2b770fdab3
4 changed files with 18 additions and 6 deletions
|
@ -23,5 +23,7 @@
|
|||
return $username;
|
||||
}
|
||||
|
||||
$username = auth($_COOKIE['token']);
|
||||
if (array_key_exists('token',$_COOKIE)) {
|
||||
$username = auth($_COOKIE['token']);
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue