[Top][All Lists]

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

[taler-bank] branch master updated: addressing session hint

From: gnunet
Subject: [taler-bank] branch master updated: addressing session hint
Date: Thu, 01 Oct 2020 18:41:55 +0200

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

ms pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new ead03cc  addressing session hint
ead03cc is described below

commit ead03cc1196ef531832450827480c0a2bd05a94f
Author: MS <>
AuthorDate: Thu Oct 1 18:41:48 2020 +0200

    addressing session hint
 talerbank/app/ | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/talerbank/app/ b/talerbank/app/
index c853848..7abf523 100644
--- a/talerbank/app/
+++ b/talerbank/app/
@@ -206,7 +206,7 @@ def get_session_hint(request):
         del request.session["hint"]
     return request.session.get("hint", (True, ""))
-def set_session_hint(request, *, success, hint):
+def set_session_hint(request, success, hint):
     if "hint" in request.session:
         LOGGER.warning(f"Overriding a non consumed hint: {hintId}")
         del request.session[hintId]
@@ -1202,7 +1202,7 @@ def confirm_withdrawal(request, withdraw_id):
-            request.session["captcha_failed"] = True, False, "Wrong CAPTCHA 
+            set_session_hint(request, success=False, hint="Wrong CAPTCHA 
             return redirect("withdraw-confirm", withdraw_id=withdraw_id)
         op.confirmation_done = True

To stop receiving notification emails like this one, please contact

reply via email to

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