forked from mirrors/bookwyrm
Merge pull request #1240 from bookwyrm-social/login-redirect
Stay on page when logging in from top bar
This commit is contained in:
commit
dca7057745
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