feat: Redirect to requested URL after login

This commit is contained in:
selfhoster selfhoster 2026-09-20 18:13:59 +02:00
commit 63e55f814f
8 changed files with 144 additions and 17 deletions

View file

@ -11,7 +11,7 @@
<p>Logout successful</p>
</div>
{% endif %}
<form method="POST" action="/login">
<form method="POST" action="{{ login_url }}">
<div id="login-line">
<img src="/assets/img/user.svg">
<input type="text" name="username" id="username" placeholder="Username">