Skip to content

Commit

Permalink
Fix redirect after login
Browse files Browse the repository at this point in the history
  • Loading branch information
timonegk committed Oct 4, 2023
1 parent 3b7ad34 commit b831bfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mafiasi/base/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
{% if REGISTER_ENABLED %}
<a class="btn btn-default navbar-btn" href="{% url 'registration_request_account' %}">{% trans "Register" %}</a>
{% endif %}
<a class="btn btn-primary navbar-btn" href="{% url 'simple_openid_connect:login' %}">{% trans "Login" %}</a>
<a class="btn btn-primary navbar-btn" href="{% url 'simple_openid_connect:login' %}?next={{ request.path }}">{% trans "Login" %}</a>
</div>
{% endif %}
</div>
Expand Down

0 comments on commit b831bfb

Please sign in to comment.