Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Fix `next' redirection url.
Browse files Browse the repository at this point in the history
  • Loading branch information
akatsoulas committed Dec 1, 2016
1 parent 4b4f2ba commit 7eef61b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions remo/base/templates/base_fd4.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@
<div class="account anonymous nomenu logout">
{% if not user.is_authenticated() %}
{% if request.get_full_path() != '/' %}
{% set next=request.get_full_path() %}
{% set next_url=request.REQUEST.next %}
{% endif %}
<span id="login-menu-locator">
<a href="{{ url('oidc_authentication_init') }}">
<a href="{{ url('oidc_authentication_init') }}?next={{ next_url }}">
Login
</a>
</span>
Expand Down

0 comments on commit 7eef61b

Please sign in to comment.