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: + logging


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: + logging
Date: Mon, 10 Jul 2017 11:52:33 +0200

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

marcello pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 73639b2  + logging
73639b2 is described below

commit 73639b2ab42fb3a0168f9d0f6c5ce57a27a3f6f6
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Jul 10 11:52:22 2017 +0200

    + logging
---
 talerbank/app/views.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index e89aeb0..d509fc2 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -445,8 +445,9 @@ def auth_and_login(request):
 
     username = request.META.get("HTTP_X_TALER_BANK_USERNAME")
     password = request.META.get("HTTP_X_TALER_BANK_PASSWORD")
-    # logger.info("Trying to log '%s/%s' in" % (username, password))
+    logger.info("Trying to log '%s/%s' in" % (username, password))
     if not username or not password:
+        logger.error("Unknown user")
         return False
     return django.contrib.auth.authenticate(username=username,
                                             password=password)

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



reply via email to

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