commit f803e34444cd56bfe99bd4f6075e9980e1b85ff1
parent 35f6fba22c47e28d2156429c92a8b9bef911ce22
Author: Florian Dold <florian@dold.me>
Date: Fri, 27 Mar 2026 18:35:34 +0100
rephrase 2FA message, allowing smart phone heuristics to pick it out
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/taler-merchant-httpd_post-challenge-ID.c b/src/backend/taler-merchant-httpd_post-challenge-ID.c
@@ -472,11 +472,11 @@ phase_send_challenge (struct MfaState *mfa)
GNUNET_break (GNUNET_OK ==
GNUNET_DISK_pipe_close (p));
GNUNET_asprintf (&mfa->msg,
- "%s\n\n"
- "Authorize: %s\n"
+ "%s is your security code.\n"
+ "Do not share your code with anyone.\n\n"
+ "Authorizes: %s\n"
// "Login: %s\n\n"
- "Valid until: %s (%s).\n"
- "Never share this TAN with anyone.",
+ "Expires: %s (%s).\n",
mfa->code,
TALER_MERCHANT_MFA_co2s (mfa->op),
// mfa->hc->instance->settings.id, // FIXME-#11213: this is wrong: always "admin"!