summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--talerbank/app/templates/login.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/talerbank/app/templates/login.html b/talerbank/app/templates/login.html
index 946ad20..dfcda00 100644
--- a/talerbank/app/templates/login.html
+++ b/talerbank/app/templates/login.html
@@ -32,7 +32,7 @@
<p class="informational informational-fail">Your username and password didn't match. Please try again.</p>
{% endif %}
- {% if next and not logged_out %}
+ {% if next and next != url('profile') %}
{% if request.user and request.user.is_authenticated %}
<p class="informational informational-fail">Your account doesn't have access to this page. To proceed,
please login with an account that has access.</p>