summaryrefslogtreecommitdiff
path: root/mailnews/imap
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-12-30 08:46:47 -0500
committerGaming4JC <g4jc@hyperbola.info>2019-12-30 20:29:20 -0500
commit0395a076c826ffed7f9a83f8b8f5d49730f773ba (patch)
tree56d6ebe0b4e6159b20ecc26265043ff01f7ae625 /mailnews/imap
parent357405f6356e28e5fa94cecc078b65c20433d236 (diff)
downloaduxp-0395a076c826ffed7f9a83f8b8f5d49730f773ba.tar.gz
Bug 1176399 - Multiple requests for master password when GMail OAuth2 is enabled.
Diffstat (limited to 'mailnews/imap')
-rw-r--r--mailnews/imap/src/nsImapProtocol.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/mailnews/imap/src/nsImapProtocol.cpp b/mailnews/imap/src/nsImapProtocol.cpp
index 4cfa9dab29..c8e3ceb67f 100644
--- a/mailnews/imap/src/nsImapProtocol.cpp
+++ b/mailnews/imap/src/nsImapProtocol.cpp
@@ -8513,6 +8513,13 @@ nsresult nsImapProtocol::GetPassword(nsCString &password,
return rv;
}
+NS_IMETHODIMP nsImapProtocol::OnPromptStartAsync(nsIMsgAsyncPromptCallback *aCallback)
+{
+ bool result = false;
+ OnPromptStart(&result);
+ return aCallback->OnAuthResult(result);
+}
+
// This is called from the UI thread.
NS_IMETHODIMP
nsImapProtocol::OnPromptStart(bool *aResult)