commit 854772cb6976f10a4492543b3000b1a77f8a0158
parent 1699640c5723ab744df442c993b4df99299dbf94
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Wed, 11 Mar 2026 17:20:59 +0100
swap order of mandatory tan channels: email before SMS
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_get-config.c b/src/backend/taler-merchant-httpd_get-config.c
@@ -138,14 +138,14 @@ MH_handler_config (const struct TMH_RequestHandler *rh,
rgs);
TMH_exchange_get_trusted (&add_exchange,
exchanges);
- if (0 != (TMH_TCS_SMS & TEH_mandatory_tan_channels))
- GNUNET_assert (0 ==
- json_array_append_new (mtc,
- json_string ("sms")));
if (0 != (TMH_TCS_EMAIL & TEH_mandatory_tan_channels))
GNUNET_assert (0 ==
json_array_append_new (mtc,
json_string ("email")));
+ if (0 != (TMH_TCS_SMS & TEH_mandatory_tan_channels))
+ GNUNET_assert (0 ==
+ json_array_append_new (mtc,
+ json_string ("sms")));
for (unsigned int i = 0; i<TMH_num_cspecs; i++)
{
const struct TALER_CurrencySpecification *cspec = &TMH_cspecs[i];