1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

only skip username only fill when from autofiller

This commit is contained in:
Kyle Spearrin
2017-10-07 13:17:43 -04:00
parent 7561ae4996
commit 22e1c7d58d
2 changed files with 3 additions and 3 deletions

View File

@@ -276,7 +276,7 @@ function initAutofill() {
return deferred.promise;
};
AutofillService.prototype.doAutoFillForLastUsedLogin = function (pageDetails) {
AutofillService.prototype.doAutoFillForLastUsedLogin = function (pageDetails, fromCommand) {
var self = this;
chrome.tabs.query({ active: true, currentWindow: true }, function (tabs) {
@@ -305,7 +305,7 @@ function initAutofill() {
fromBackground: true,
skipTotp: true,
skipLastUsed: true,
skipUsernameOnlyFill: true
skipUsernameOnlyFill: !fromCommand
});
});
});