[Top][All Lists]

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

[taler-bank] branch master updated: get hint on wrong CAPTCHA.

From: gnunet
Subject: [taler-bank] branch master updated: get hint on wrong CAPTCHA.
Date: Thu, 01 Oct 2020 19:03:33 +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 eee0939  get hint on wrong CAPTCHA.
eee0939 is described below

commit eee0939e7c6a8110c0a91cd97cf0938d74c7d050
Author: MS <>
AuthorDate: Thu Oct 1 19:02:30 2020 +0200

    get hint on wrong CAPTCHA.
 talerbank/app/ | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/talerbank/app/ b/talerbank/app/
index e7c6803..418e59f 100644
--- a/talerbank/app/
+++ b/talerbank/app/
@@ -211,7 +211,7 @@ def get_session_hint(request):
 def set_session_hint(request, success, hint):
     if "hint" in request.session:
         LOGGER.warning(f"Overriding a non consumed hint")
-        del request.session[hintId]
+        del request.session["hint"]
     request.session["hint"] = success, hint
@@ -1222,6 +1222,7 @@ def confirm_withdrawal(request, withdraw_id):
     if request.method == "GET":
         question, hashed_answer = make_question()
+        is_success, hint = get_session_hint(request)
         context = dict(

To stop receiving notification emails like this one, please contact

reply via email to

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