auth: learning express auth

This commit is contained in:
Smigz 2025-02-04 12:38:36 -05:00
parent 0647b4af89
commit 518abdc55e
6 changed files with 363 additions and 0 deletions

View file

@ -0,0 +1,9 @@
<h1>please log in</h1>
<form action="/log-in" method="POST">
<label for="username">Username</label>
<input id="username" name="username" placeholder="username" type="text" />
<label for="password">Password</label>
<input id="password" name="password" type="password" />
<button>Log In</button>
</form>