summaryrefslogtreecommitdiff
path: root/imap4d
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-11-15 16:32:51 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-11-15 16:32:51 +0000
commitf9022892b640af721d510d67b5f5d26c8ac0cd1e (patch)
tree0a7fd22b1aa1877fa2d4ed32470749ad79a63e95 /imap4d
parentbf959364c67409ca94b7ea196dc6f569a6d34adb (diff)
downloadmailutils-f9022892b640af721d510d67b5f5d26c8ac0cd1e.tar.gz
mailutils-f9022892b640af721d510d67b5f5d26c8ac0cd1e.tar.bz2
(imap4d_login): Do not proceed if tls_required is set.
Diffstat (limited to 'imap4d')
-rw-r--r--imap4d/login.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/imap4d/login.c b/imap4d/login.c
index 11bd81340..301369c5a 100644
--- a/imap4d/login.c
+++ b/imap4d/login.c
@@ -23,9 +23,9 @@ imap4d_login (struct imap4d_command *command, char *arg)
char *sp = NULL, *username, *pass;
int rc;
- if (login_disabled)
+ if (login_disabled || tls_required)
return util_finish (command, RESP_NO, "Command disabled");
-
+
username = util_getword (arg, &sp);
pass = util_getword (NULL, &sp);

Return to:

Send suggestions and report system problems to the System administrator.