gnunet-svn
[Top][All Lists]
Advanced

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

[taler-merchant] branch master updated: report back authentication metho


From: gnunet
Subject: [taler-merchant] branch master updated: report back authentication method
Date: Tue, 02 Mar 2021 20:21:15 +0100

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

dold pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new d5690228 report back authentication method
d5690228 is described below

commit d569022886102d23c8094189decba71761168457
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Mar 2 20:21:11 2021 +0100

    report back authentication method
---
 src/backend/taler-merchant-httpd_private-get-instances-ID.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_private-get-instances-ID.c 
b/src/backend/taler-merchant-httpd_private-get-instances-ID.c
index a7bea350..8f392393 100644
--- a/src/backend/taler-merchant-httpd_private-get-instances-ID.c
+++ b/src/backend/taler-merchant-httpd_private-get-instances-ID.c
@@ -68,7 +68,8 @@ TMH_private_get_instances_ID (const struct TMH_RequestHandler 
*rh,
     connection,
     MHD_HTTP_OK,
     "{s:o, s:s, s:o, s:O, s:O,"
-    " s:o, s:o, s:I, s:o, s:o}",
+    " s:o, s:o, s:I, s:o, s:o,"
+    " s:{ s:s } }",
     "accounts",
     ja,
     "name",
@@ -95,7 +96,11 @@ TMH_private_get_instances_ID (const struct 
TMH_RequestHandler *rh,
       mi->settings.default_wire_transfer_delay),
     "default_pay_delay",
     GNUNET_JSON_from_time_rel (
-      mi->settings.default_pay_delay));
+      mi->settings.default_pay_delay),
+    /* end of second group of 5 */
+    "auth",
+    "method",
+    GNUNET_is_zero (mi->auth.auth_hash.bits) ? "external" : "token");
 }
 
 

-- 
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]