dovecot-1.0: If AUTH has "nologin" parameter, the request is fre...

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


details:   http://hg.dovecot.org/dovecot-1.0/rev/1e0b273d4d64
changeset: 5508:1e0b273d4d64
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Jan 04 03:31:04 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 c7456f4b0430 -r 1e0b273d4d64 src/auth/auth-request.c
--- a/src/auth/auth-request.c	Thu Jan 03 21:20:38 2008 +0200
+++ b/src/auth/auth-request.c	Fri Jan 04 03:31:04 2008 +0200
@@ -161,6 +161,8 @@ bool auth_request_import(struct auth_req
 		net_addr2ip(value, &request->remote_ip);
 	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