gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-bank] branch master updated: remove unused cookie


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: remove unused cookie
Date: Tue, 07 May 2019 20:35:10 +0200

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

dold pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 5727f25  remove unused cookie
5727f25 is described below

commit 5727f25074e12eee9f9e62ec2cdaccaa933f3068
Author: Florian Dold <address@hidden>
AuthorDate: Tue May 7 20:35:00 2019 +0200

    remove unused cookie
---
 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..946ad20 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 not logged_out %}
             {% 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]