dovecot: If AUTH has "nologin" parameter, the request is freed w...

dovecot at dovecot.org dovecot at dovecot.org
Fri Jan 4 03:31:09 EET 2008


details:   http://hg.dovecot.org/dovecot/rev/1bd8b17bfabe
changeset: 7106:1bd8b17bfabe
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jan 04 03:31:05 2008 +0200
description:
If AUTH has "nologin" parameter, the request is freed when authentication is
finished (instead of delayed until master looks it up).

diffstat:

1 file changed, 2 insertions(+)
src/auth/auth-request.c |    2 ++

diffs (12 lines):

diff -r f0ad529ac9ea -r 1bd8b17bfabe src/auth/auth-request.c
--- a/src/auth/auth-request.c	Fri Jan 04 02:46:48 2008 +0200
+++ b/src/auth/auth-request.c	Fri Jan 04 03:31:05 2008 +0200
@@ -173,6 +173,8 @@ bool auth_request_import(struct auth_req
 		request->remote_port = atoi(value);
 	else if (strcmp(key, "secured") == 0)
 		request->secured = TRUE;
+	else if (strcmp(key, "nologin") == 0)
+		request->no_login = TRUE;
 	else
 		return FALSE;
 


More information about the dovecot-cvs mailing list