This commit is contained in:
HRG @ SCExC 2024-02-24 11:12:14 -05:00
parent f370a2fe68
commit e335c65506
21 changed files with 33471 additions and 86 deletions

12
views/auth/login.eta Normal file
View file

@ -0,0 +1,12 @@
<form action="/login" method="POST">
<input name="username" placeholder="username">
<input name="password" placeholder="password">
<button type="submit">
come home
</button>
<% if (error) { %>
<%= error %>
<% } %>
<br>
<div> or you can <a href="/register">move in here</a>.
</form>

10
views/auth/register.eta Normal file
View file

@ -0,0 +1,10 @@
<form action="/register" method="POST">
<input name="username" placeholder="username">
<input name="password" placeholder="password">
<button type="submit">
move in
</button>
<% if (error) { %>
<%= error %>
<% } %>
</form>