(imap4d_login): Do not proceed if tls_required is set.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -23,7 +23,7 @@ imap4d_login (struct imap4d_command *command, char *arg) | ... | @@ -23,7 +23,7 @@ imap4d_login (struct imap4d_command *command, char *arg) |
23 | char *sp = NULL, *username, *pass; | 23 | char *sp = NULL, *username, *pass; |
24 | int rc; | 24 | int rc; |
25 | 25 | ||
26 | if (login_disabled) | 26 | if (login_disabled || tls_required) |
27 | return util_finish (command, RESP_NO, "Command disabled"); | 27 | return util_finish (command, RESP_NO, "Command disabled"); |
28 | 28 | ||
29 | username = util_getword (arg, &sp); | 29 | username = util_getword (arg, &sp); | ... | ... |
-
Please register or sign in to post a comment