Add cookie based auth, file serving and uploading
This commit is contained in:
16
assets/views/website/login.html
Normal file
16
assets/views/website/login.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{% extends "website/base.html" %} {% block content %}
|
||||
<div class="w-full mt-16"></div>
|
||||
<form
|
||||
class="text-black"
|
||||
method="post"
|
||||
enctype="application/x-www-form-urlencoded"
|
||||
action="/api/auth/login"
|
||||
>
|
||||
<label class="text-white" for="email">Email:</label>
|
||||
<input type="text" id="email" name="email" required />
|
||||
<label class="text-white" for="password">Password:</label>
|
||||
<input type="password" id="password" name="password" required />
|
||||
<button class="text-white" type="submit">Login</button>
|
||||
</form>
|
||||
|
||||
{% endblock content%}
|
Reference in New Issue
Block a user