From: Stephan Bosch Date: Fri, 21 Feb 2025 16:44:56 +0000 (+0100) Subject: auth: mech-oauth2 - Rename continued data to reponse data/payload X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7aa3e7163693443da7f56f823cf26a953ec5bdd2;p=thirdparty%2Fdovecot%2Fcore.git auth: mech-oauth2 - Rename continued data to reponse data/payload Makes more sense in SASL overall --- 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; }