From b71bbe16657452efd3c4978c3042b3cc6439d729 Mon Sep 17 00:00:00 2001 From: Kyle Powers Date: Wed, 29 Oct 2014 15:31:57 -0700 Subject: [PATCH] oauth2 -> xoauth2 --- src/driver/implementation/imap/imapdriver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/implementation/imap/imapdriver.c b/src/driver/implementation/imap/imapdriver.c index 45986ab..4d6e8ac 100644 --- a/src/driver/implementation/imap/imapdriver.c +++ b/src/driver/implementation/imap/imapdriver.c @@ -1236,7 +1236,7 @@ static int imapdriver_login_sasl(mailsession * session, { int r; - if (strcasecmp(auth_type, "oauth2") == 0) + if (strcasecmp(auth_type, "xoauth2") == 0) r = mailimap_oauth2_authenticate(get_imap_session(session), auth_name, password); else r = mailimap_authenticate(get_imap_session(session),