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

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