Bug 516464 - Remove passwords from cache when password manager contents are changed to prevent stale password attempts.

Tag #1273
This commit is contained in:
Matt A. Tobin 2019-11-10 17:53:59 -05:00 committed by Roy Tam
commit 86d4e9d3a6
4 changed files with 54 additions and 10 deletions

View file

@ -154,7 +154,7 @@ nsMsgSendLater::Observe(nsISupports *aSubject, const char* aTopic,
mTimerSet = false;
}
else if (!strcmp(aTopic, "xpcom-shutdown"))
else if (!strcmp(aTopic, NS_XPCOM_SHUTDOWN_OBSERVER_ID))
{
// We're shutting down. Unsubscribe from the unsentFolder notifications
// they aren't any use to us now, we don't want to start sending more