From: Timo Sirainen Date: Tue, 26 May 2020 22:25:41 +0000 (+0300) Subject: auth: db-oauth2 - Call db_oauth2_lookup_continue_valid() after valid grant X-Git-Tag: 2.3.14.rc1~258 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=98988c187e38743b68904a13619e4701deddedd3;p=thirdparty%2Fdovecot%2Fcore.git auth: db-oauth2 - Call db_oauth2_lookup_continue_valid() after valid grant No need to check for error/validity again in db_oauth2_lookup_continue(). --- diff --git a/src/auth/db-oauth2.c b/src/auth/db-oauth2.c index 8dd4dc8098..99d2b5902a 100644 --- a/src/auth/db-oauth2.c +++ b/src/auth/db-oauth2.c @@ -746,7 +746,7 @@ db_oauth2_lookup_passwd_grant(struct oauth2_request_result *result, "OAuth2 token missing from reply"); } else { req->token = p_strdup(req->pool, token); - db_oauth2_lookup_continue(result, req); + db_oauth2_lookup_continue_valid(req, result->fields); } return; }