Modifies the login link to redirect the user to the current page after authentication.
This commit is contained in:
parent
a19d5d94a6
commit
1b72f79456
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ folder and edit it to add/remove links to the menu.
|
|||
</li>
|
||||
{% else %}
|
||||
<li>
|
||||
<a class="nav-link" href="{% url 'login' %}">Log In</a>
|
||||
<a class="nav-link" href="{% url 'login' %}?next={{ request.path }}">Log In</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="nav-link" href="{% url 'register' %}">Register</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue