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

@ -740,6 +740,13 @@ nsresult nsPop3Protocol::StartGetAsyncPassword(Pop3StatesEnum aNextState)
return rv;
}
NS_IMETHODIMP nsPop3Protocol::OnPromptStartAsync(nsIMsgAsyncPromptCallback *aCallback)
{
bool result = false;
OnPromptStart(&result);
return aCallback->OnAuthResult(result);
}
NS_IMETHODIMP nsPop3Protocol::OnPromptStart(bool *aResult)
{
MOZ_LOG(POP3LOGMODULE, LogLevel::Debug, (POP3LOG("OnPromptStart()")));