forked from mirrors/bookwyrm
Stay on page when logging in from top bar
Was this bugging other people? It bugged me to no end.
This commit is contained in:
parent
7980d74b01
commit
806638888e
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@
|
|||
{% if request.path != '/login' and request.path != '/login/' %}
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<form name="login" method="post" action="/login">
|
||||
<form name="login" method="post" action="{% url 'login' %}?next={{ request.path }}">
|
||||
{% csrf_token %}
|
||||
<div class="columns is-variable is-1">
|
||||
<div class="column">
|
||||
|
|
Loading…
Reference in a new issue