mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-29 05:15:35 -04:00
auth: learning express auth
This commit is contained in:
parent
0647b4af89
commit
518abdc55e
6 changed files with 363 additions and 0 deletions
9
auth-expressjs/src/views/log-in.ejs
Normal file
9
auth-expressjs/src/views/log-in.ejs
Normal 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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue