зеркало из https://github.com/mozilla/pjs.git
For a username/password prompt, allow saving of the password even if the username is blank.
This commit is contained in:
Родитель
e5361c86e4
Коммит
92cf0f6920
|
@ -158,7 +158,7 @@ nsSingleSignonPrompt::PromptUsernameAndPassword(const PRUnichar* aDialogTitle,
|
|||
aConfirm);
|
||||
|
||||
if (*aConfirm) {
|
||||
if (checkValue && user[0] != '\0') {
|
||||
if (checkValue && (user[0] != '\0' || password[0] != '\0')) {
|
||||
// The user requested that we save the values
|
||||
// TODO: support SAVE_PASSWORD_FOR_SESSION
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче