Bug 1695703 - Follow-up: Password manager stores mailbox: instead of pop3:. r=benc
This commit is contained in:
Родитель
c37e8363a8
Коммит
3d8685c753
|
@ -99,7 +99,11 @@ nsMsgIncomingServer::Observe(nsISupports* aSubject, const char* aTopic,
|
|||
GetHostName(hostname);
|
||||
nsAutoCString fullName;
|
||||
GetType(fullName);
|
||||
fullName += "://"_ns + hostname;
|
||||
if (fullName.EqualsLiteral("pop3")) {
|
||||
fullName = "mailbox://"_ns + hostname;
|
||||
} else {
|
||||
fullName += "://"_ns + hostname;
|
||||
}
|
||||
if (!fullName.Equals(NS_ConvertUTF16toUTF8(hostnameInfo))) return NS_OK;
|
||||
}
|
||||
rv = ForgetSessionPassword();
|
||||
|
|
Загрузка…
Ссылка в новой задаче