From: Timo Sirainen Date: Wed, 15 Mar 2017 22:25:19 +0000 (+0200) Subject: auth: oauth2 - introspection lookup error should be internal failure X-Git-Tag: 2.3.0.rc1~1953 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6bcf2e4195f000194f11a37433caa7890663bd22;p=thirdparty%2Fdovecot%2Fcore.git auth: oauth2 - introspection lookup error should be internal failure Not the default, which is "password mismatch". --- diff --git a/src/auth/db-oauth2.c b/src/auth/db-oauth2.c index f2382b929a..5c30700efc 100644 --- a/src/auth/db-oauth2.c +++ b/src/auth/db-oauth2.c @@ -524,6 +524,7 @@ db_oauth2_introspect_continue(struct oauth2_introspection_result *result, if (!result->success) { /* fail here */ + req->result = PASSDB_RESULT_INTERNAL_FAILURE; req->failed = TRUE; db_oauth2_callback(req, FALSE, result->error); return;