commit fe78c6849956ee53321fb4c7c623aaa9ecb5e2df
parent 21bee06765ded280c10e702af051fb3402c33ad2
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 11 Aug 2026 23:55:34 +0200
fix GANA
Diffstat:
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/include/taler/taler_error_codes.h b/src/include/taler/taler_error_codes.h
@@ -2896,6 +2896,14 @@ enum TALER_ErrorCode
/**
+ * There have been too many attempts to solve MFA. The client may attempt again in the future.
+ * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
+ * (A value of 0 indicates that the error is generated client-side).
+ */
+ TALER_EC_MERCHANT_MFA_FORBIDDEN = 2131,
+
+
+ /**
* The transmission helper rejected the address configured for this multi-factor authentication step: it is malformed, of the wrong length, not a mobile subscription, unallocated, or blocked. The address should be corrected.
* Returned with an HTTP status code of #MHD_HTTP_BAD_REQUEST (400).
* (A value of 0 indicates that the error is generated client-side).
@@ -2920,14 +2928,6 @@ enum TALER_ErrorCode
/**
- * There have been too many attempts to solve MFA. The client may attempt again in the future.
- * Returned with an HTTP status code of #MHD_HTTP_FORBIDDEN (403).
- * (A value of 0 indicates that the error is generated client-side).
- */
- TALER_EC_MERCHANT_MFA_FORBIDDEN = 2131,
-
-
- /**
* The exchange responded saying that funds were insufficient (for example, due to double-spending).
* Returned with an HTTP status code of #MHD_HTTP_CONFLICT (409).
* (A value of 0 indicates that the error is generated client-side).
diff --git a/src/util/taler_error_codes.c b/src/util/taler_error_codes.c
@@ -2791,6 +2791,14 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
+ /* 2131 */
+ .ec = TALER_EC_MERCHANT_MFA_FORBIDDEN,
+ .hint =
+ "There have been too many attempts to solve MFA. The client may attempt again in the future.",
+ .http_code = MHD_HTTP_FORBIDDEN
+ },
+
+ {
/* 2132 */
.ec = TALER_EC_MERCHANT_TAN_ADDRESS_UNUSABLE,
.hint =
@@ -2815,14 +2823,6 @@ static const struct ErrorCodeAndHint code_hint_pairs[] = {
},
{
- /* 2131 */
- .ec = TALER_EC_MERCHANT_MFA_FORBIDDEN,
- .hint =
- "There have been too many attempts to solve MFA. The client may attempt again in the future.",
- .http_code = MHD_HTTP_FORBIDDEN
- },
-
- {
/* 2150 */
.ec = TALER_EC_MERCHANT_POST_ORDERS_ID_PAY_INSUFFICIENT_FUNDS,
.hint =