challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

commit 88b19e6a73d2f7a0b70da6765a81529e6cd81ad1
parent 34343e70f934be58a03bb5dfa0568e5b6366a38c
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 14 Apr 2025 21:17:44 +0200

-fix logging and SQL mistake

Diffstat:
Msrc/challenger/challenger-httpd_challenge.c | 4++--
Msrc/challengerdb/pg_challenge_get_address_and_stats.c | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/challenger/challenger-httpd_challenge.c b/src/challenger/challenger-httpd_challenge.c @@ -879,7 +879,7 @@ CH_handler_challenge_get (struct CH_HandlerContext *hc, hc->connection, MHD_HTTP_INTERNAL_SERVER_ERROR, TALER_EC_GENERIC_DB_STORE_FAILED, - "set-address-and-pin"); + "challenge-get-address-and-stats"); case GNUNET_DB_STATUS_SOFT_ERROR: if (r < MAX_RETRIES - 1) continue; @@ -888,7 +888,7 @@ CH_handler_challenge_get (struct CH_HandlerContext *hc, hc->connection, MHD_HTTP_INTERNAL_SERVER_ERROR, TALER_EC_GENERIC_DB_STORE_FAILED, - "set-address-and-pin"); + "challenge-get-address-and-stats"); case GNUNET_DB_STATUS_SUCCESS_NO_RESULTS: GNUNET_break_op (0); return TALER_MHD_reply_with_error ( diff --git a/src/challengerdb/pg_challenge_get_address_and_stats.c b/src/challengerdb/pg_challenge_get_address_and_stats.c @@ -64,7 +64,7 @@ CH_PG_challenge_get_address_and_stats ( " ,last_tx_time" " ,auth_attempts_left" " ,client_redirect_uri" - " ,out_solved AS solved" + " ,solved" " FROM validations" " WHERE nonce=$1;"); return GNUNET_PQ_eval_prepared_singleton_select (pg->conn,