]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: oauth2 - introspection lookup error should be internal failure
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 15 Mar 2017 22:25:19 +0000 (00:25 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Wed, 15 Mar 2017 23:28:43 +0000 (01:28 +0200)
Not the default, which is "password mismatch".

src/auth/db-oauth2.c

index f2382b929a3b5f8d323ae8abdad4f589aba26609..5c30700efc89ea96dc44ac6f38e0718f3d537100 100644 (file)
@@ -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;