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

Commit

Permalink
Merge pull request #1285 from akatsoulas/fix-next-url
Browse files Browse the repository at this point in the history
Fix `next' redirection url.
  • Loading branch information
akatsoulas authored Dec 1, 2016
2 parents 4b4f2ba + 7eef61b commit 1c2c482
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 1c2c482

Please sign in to comment.