aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index f13ebc84..9b7d9404 100644
--- a/imap.c
+++ b/imap.c
@@ -330,7 +330,7 @@ int imap_getauth(int sock, struct query *ctl, char *greeting)
if ((ctl->server.authenticate == A_ANY
|| ctl->server.authenticate==A_OTP)
&& strstr(capabilities, "AUTH=X-OTP"))
- return(do_otp(sock, ctl));
+ return(do_otp(sock, "AUTHENTICATE", ctl));
#else
if (ctl->server.authenticate==A_NTLM)
{