frontend data cookie and optional key word for NewGameJam.php
This commit is contained in:
@@ -42,4 +42,10 @@ function passwordValidate(string $password1): bool
|
||||
return true;
|
||||
}
|
||||
else return false;
|
||||
}
|
||||
|
||||
function makeLogin(string $groupName, int $groupId)
|
||||
{
|
||||
setcookie("groupName", $groupName, 0, "/");
|
||||
setcookie("groupId", $groupId, 0, "/");
|
||||
}
|
||||
Reference in New Issue
Block a user