Hide cannot fill error on username-only pages

This commit is contained in:
varjolintu 2018-09-06 06:47:56 +03:00 committed by Jonathan White
parent 45a00b851d
commit 7cea76abf8

View file

@ -1812,7 +1812,7 @@ cip.fillIn = function(combination, onlyPassword, suppressWarnings) {
// exactly one pair of credentials available
if (cip.credentials.length === 1) {
let filledIn = false;
if (uField && !onlyPassword) {
if (uField && (!onlyPassword || _singleInputEnabledForPage)) {
cip.setValueWithChange(uField, cip.credentials[0].login);
browser.runtime.sendMessage({
action: 'page_set_login_id', args: [0]