From 7aa3e7163693443da7f56f823cf26a953ec5bdd2 Mon Sep 17 00:00:00 2001 From: Stephan Bosch Date: Fri, 21 Feb 2025 17:44:56 +0100 Subject: [PATCH] auth: mech-oauth2 - Rename continued data to reponse data/payload Makes more sense in SASL overall --- src/auth/mech-oauth2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/auth/mech-oauth2.c b/src/auth/mech-oauth2.c index f35508331c..56182f4ebd 100644 --- a/src/auth/mech-oauth2.c +++ b/src/auth/mech-oauth2.c @@ -262,7 +262,7 @@ mech_oauthbearer_auth_continue(struct auth_request *request, const char *token = NULL; /* ensure initial field is OK */ if (*fields == NULL || *(fields[0]) == '\0') { - e_info(request->mech_event, "Invalid continued data"); + e_info(request->mech_event, "Invalid response payload"); oauth2_fail_invalid_request(oauth2_req); return; } @@ -311,7 +311,7 @@ mech_oauthbearer_auth_continue(struct auth_request *request, token = value; } else { e_info(request->mech_event, - "Invalid continued data"); + "Invalid response payload"); oauth2_fail_invalid_token(oauth2_req); return; } @@ -378,7 +378,7 @@ mech_xoauth2_auth_continue(struct auth_request *request, token = value; } else { e_info(request->mech_event, - "Invalid continued data"); + "Invalid response data"); oauth2_fail_invalid_token(oauth2_req); return; } -- 2.47.3