mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
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