]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
auth: Give a better error message to client when auth request timeouts.
authorTimo Sirainen <tss@iki.fi>
Mon, 3 May 2010 13:11:30 +0000 (16:11 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 3 May 2010 13:11:30 +0000 (16:11 +0300)
--HG--
branch : HEAD

src/auth/auth-request-handler.c

index e590804b87a71ea58c0d7d81b3392b90d5deabff..3d8396a5088b101baaff26dcff6a23a7939ea711 100644 (file)
@@ -453,7 +453,8 @@ bool auth_request_handler_auth_continue(struct auth_request_handler *handler,
                reply = auth_stream_reply_init(pool_datastack_create());
                auth_stream_reply_add(reply, "FAIL", NULL);
                auth_stream_reply_add(reply, NULL, dec2str(id));
-               auth_stream_reply_add(reply, "reason", "Timeouted");
+               auth_stream_reply_add(reply, "reason",
+                                     "Authentication request timed out");
                handler->callback(reply, handler->context);
                return TRUE;
        }