summaryrefslogtreecommitdiff
path: root/talerbank
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-05-07 21:43:53 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-05-07 21:43:53 +0200
commit564fe1a192eec88a04d726976d524cf34d94ec9e (patch)
treec41398be986d452112aa749ea319d313a56ec84c /talerbank
parent5727f25074e12eee9f9e62ec2cdaccaa933f3068 (diff)
downloadbank-564fe1a192eec88a04d726976d524cf34d94ec9e.tar.gz
bank-564fe1a192eec88a04d726976d524cf34d94ec9e.tar.bz2
bank-564fe1a192eec88a04d726976d524cf34d94ec9e.zip
don't show warning if logging in from the beginning
Diffstat (limited to 'talerbank')
-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>