fixes bug 246106 "Defensive (anti-phishing) auth prompts are displayed when they should not be displayed" r+sr=dveditz

This commit is contained in:
darin%meer.net 2004-06-09 22:09:05 +00:00
Родитель 1c77027593
Коммит fa7e4162e0
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -2528,6 +2528,9 @@ nsHttpChannel::ConfirmAuth(const nsString &bundleKey, PRBool doYesNoPrompt)
if (!prompt)
return PR_TRUE;
// do not prompt again
mSuppressDefensiveAuth = PR_TRUE;
PRBool confirmed;
if (doYesNoPrompt) {
PRInt32 choice;