Made login

This commit is contained in:
neerholt
2021-03-04 13:13:07 +01:00
parent c3479e8e7b
commit 9a38284c8b
6 changed files with 61 additions and 8 deletions
+27 -2
View File
@@ -1,6 +1,4 @@
<?php
use Backend\Models\GameJam;
@@ -11,3 +9,30 @@ $gameJam = GameJam::firstOrCreate([
'name' => "First game jam ever!", 'startTime' => "2021-03-03T12:40", 'endTime' => "2021-04-03T12:40", 'description' => "Det her et en beskrivelse"
]);
?>
<!DOCTYPE html>
<html>
<title>HTML Tutorial</title>
<body>
<form action="SigningUp.php" method="POST">
<input type="text" name="groupName" placeholder="Group name">
<input type="number" name="groupAmount" placeholder="Group Amount">
<input type="number" name="gameJamId" placeholder="Game Jam id">
<input type="password" name="password" placeholder="password">
<input type="submit" name="reg_group" value="Register">
</form>
<form action="Login.php" method="POST">
<input type="text" name="groupName" placeholder="Group name">
<input type="password" name="password" placeholder="password">
<input type="submit" name="login" value="login">
</form>
</body>
</html>