feat: Redirect to requested URL after login
This commit is contained in:
parent
c28b25d8d9
commit
63e55f814f
8 changed files with 144 additions and 17 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in a new issue