Refactor auth session management into separate function

This commit is contained in:
bronku 2025-03-28 21:06:12 +01:00
parent bba6e8618a
commit 01da46b81e
3 changed files with 26 additions and 32 deletions

View file

@ -1,12 +0,0 @@
<header>
<h1>Wrong Password</h1>
</header>
<main>
<form method="post">
<label>Login</label>
<input type="text" name="login" />
<label>Password</label>
<input type="password" name="password" />
<button type="submit">login</button>
</form>
</main>