зеркало из https://github.com/mozilla/gecko-dev.git
prompt for username and password when anonymous ftp login failed
bug 124561, r=biesi, sr=darin
This commit is contained in:
Родитель
06b9779fe4
Коммит
78cf18cc57
|
@ -1148,6 +1148,12 @@ nsFtpState::R_pass() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the login was anonymous, and it failed, try again with a username
|
||||||
|
if (mAnonymous) {
|
||||||
|
mAnonymous = PR_FALSE;
|
||||||
|
return FTP_S_USER;
|
||||||
|
}
|
||||||
|
|
||||||
mRetryPass = PR_TRUE;
|
mRetryPass = PR_TRUE;
|
||||||
return FTP_ERROR;
|
return FTP_ERROR;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче