documentaiont update

This commit is contained in:
2021-03-26 14:03:02 +01:00
parent 1365c00c78
commit bcc69a88ad
2 changed files with 7 additions and 4 deletions
+3
View File
@@ -8,6 +8,9 @@ function isAdmin(): bool
return isset($_SESSION['admin']);
}
/**
* @param string $userName
*/
function makeAdminLogin(string $userName)
{
setcookie("userName", $userName, [