feat: Setup fake auth backend, need to wire it up

This commit is contained in:
Cyper committed 2026-03-02 00:38:00 -05:00
1 parent 5e79129cde
commit 19703ae07f
8 files changed
+151 -27

No files matched your search

+12
View File
@@ -7,4 +7,16 @@
{% block content %}
<h1>Home Page</h1>
<p>This is the home page</p>
<br />
<form action="/login" method="post">
<div>
<label for="username">Username</label>
<input type="text" id="username" name="username" />
</div>
<div>
<label for="password">Password</label>
<input type="password" id="password" name="password" />
</div>
<button type="submit">Login</button>
</form>
{% endblock %}
+19
View File
@@ -0,0 +1,19 @@
{% extends "layout.html" %}
{% block content %}
{% if let Some(err) = self.error %}
{{ err }}
{% endif %}
<h1>Login Page</h1>
<form method="post">
<div>
<label for="username">Username</label>
<input type="text" id="username" name="username" />
</div>
<div>
<label for="password">Password</label>
<input type="password" id="password" name="password" />
</div>
<button type="submit">Login</button>
</form>
{% endblock %}