From 564fe1a192eec88a04d726976d524cf34d94ec9e Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 7 May 2019 21:43:53 +0200 Subject: don't show warning if logging in from the beginning --- talerbank/app/templates/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'talerbank') 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 @@

Your username and password didn't match. Please try again.

{% endif %} - {% if next and not logged_out %} + {% if next and next != url('profile') %} {% if request.user and request.user.is_authenticated %}

Your account doesn't have access to this page. To proceed, please login with an account that has access.

-- cgit v1.2.3