gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-bank] branch stable updated (b23bdcd -> 564fe1a)


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch stable updated (b23bdcd -> 564fe1a)
Date: Tue, 07 May 2019 21:44:09 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a change to branch stable
in repository bank.

    from b23bdcd  access as attribute, not as function
     add 5727f25  remove unused cookie
     add 564fe1a  don't show warning if logging in from the beginning

No new revisions were added by this update.

Summary of changes:
 talerbank/app/templates/login.html | 2 +-
 talerbank/app/views.py             | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/talerbank/app/templates/login.html 
b/talerbank/app/templates/login.html
index 9e17cdb..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 %}
+        {% 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>
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index b21b2fe..52dbc7d 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -436,7 +436,6 @@ def register(request):
 # @return Django-specific HTTP response object.
 def logout_view(request):
     django.contrib.auth.logout(request)
-    request.session["login_hint"] = False, True, "Logged out!"
     return redirect("index")
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]