diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2019-12-30 08:46:47 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-01-11 13:43:22 +0100 |
commit | 798cdc9e47f5b5231fb64d0ff552658026763b70 (patch) | |
tree | 449b72bf49a7cc6e76dcc9a088b96a1c59d1a446 /mailnews/news | |
parent | 1110944d4b3dffbd822d22ad2cc75a32eda718d7 (diff) | |
download | UXP-798cdc9e47f5b5231fb64d0ff552658026763b70.tar UXP-798cdc9e47f5b5231fb64d0ff552658026763b70.tar.gz UXP-798cdc9e47f5b5231fb64d0ff552658026763b70.tar.lz UXP-798cdc9e47f5b5231fb64d0ff552658026763b70.tar.xz UXP-798cdc9e47f5b5231fb64d0ff552658026763b70.zip |
Bug 1176399 - Multiple requests for master password when GMail OAuth2 is enabled.
Diffstat (limited to 'mailnews/news')
-rw-r--r-- | mailnews/news/src/nsNNTPProtocol.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp index 8ce367faa..035dff6e6 100644 --- a/mailnews/news/src/nsNNTPProtocol.cpp +++ b/mailnews/news/src/nsNNTPProtocol.cpp @@ -2472,6 +2472,13 @@ nsresult nsNNTPProtocol::PasswordResponse() return NS_ERROR_FAILURE; } +NS_IMETHODIMP nsNNTPProtocol::OnPromptStartAsync(nsIMsgAsyncPromptCallback *aCallback) +{ + bool result = false; + OnPromptStart(&result); + return aCallback->OnAuthResult(result); +} + NS_IMETHODIMP nsNNTPProtocol::OnPromptStart(bool *authAvailable) { NS_ENSURE_ARG_POINTER(authAvailable); |