gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: -fix all-zeros access_token issu


From: gnunet
Subject: [taler-merchant] branch master updated: -fix all-zeros access_token issue
Date: Mon, 09 Sep 2024 20:32:13 +0200

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

grothoff pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 9129297e -fix all-zeros access_token issue
9129297e is described below

commit 9129297e56763ae2941ee8e52cd3f96a5b880b02
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Sep 9 20:32:10 2024 +0200

    -fix all-zeros access_token issue
---
 src/backend/taler-merchant-kyccheck.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/backend/taler-merchant-kyccheck.c 
b/src/backend/taler-merchant-kyccheck.c
index f001285c..2ff290d3 100644
--- a/src/backend/taler-merchant-kyccheck.c
+++ b/src/backend/taler-merchant-kyccheck.c
@@ -440,7 +440,9 @@ store_kyc_status (
                 jlimits);
   }
   i->jlimits = jlimits;
+  GNUNET_break (! GNUNET_is_zero (&account_kyc_status->access_token));
   i->access_token = account_kyc_status->access_token;
+  i->auth_ok = true;
   i->aml_review = account_kyc_status->aml_review;
   i->kyc_ok = (MHD_HTTP_OK == i->last_http_status);
 }
@@ -564,7 +566,9 @@ exchange_check_cb (
       i->last_kyc_check,
       i->last_http_status,
       i->last_ec,
-      &i->access_token,
+      (i->auth_ok)
+      ? &i->access_token
+      : NULL,
       i->jlimits,
       i->aml_review,
       i->kyc_ok);

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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