frontend data cookie and optional key word for NewGameJam.php

This commit is contained in:
2021-03-25 09:24:55 +01:00
parent 2293fc669e
commit 99fd4e425a
3 changed files with 10 additions and 1 deletions
+6
View File
@@ -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, "/");
}