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

Adjust autofill to handle sites with no username/password

This commit is contained in:
Kyle Spearrin
2016-10-13 23:42:08 -04:00
parent 6b3416a367
commit 9e2b64d0c4
4 changed files with 40 additions and 30 deletions

View File

@@ -4,7 +4,7 @@
function initAutofill() {
AutofillService.prototype.generateFillScript = function (pageDetails, fillUsername, fillPassword) {
if (!pageDetails) {
if (!pageDetails || !fillPassword || fillPassword === '') {
return null;
}