Bug 1176399 - Multiple requests for master password when GMail OAuth2 is enabled.

This commit is contained in:
Gaming4JC 2019-12-30 08:46:47 -05:00 • committed by Roy Tam
commit f7a24c87f6
6 changed files with 101 additions and 21 deletions

View file

@ -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);