Merge pull request #1299 from keepassxreboot/fix/improve_ebay_login_flow

Improve eBay login flow
This commit is contained in:
Sami Vänttinen 2021-04-10 14:37:53 +03:00 committed by GitHub
commit 4cf1731d2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View file

@ -79,7 +79,7 @@ kpxcSites.exceptionFound = function(identifier) {
&& [ 'password', 'form-row', 'show-password' ].every(c => identifier.contains(c))) {
return true;
} else if (document.location.origin.startsWith('https://signin.ebay.')
&& identifier.contains('null')) {
&& (identifier === 'null' || identifier.value === 'null' || identifier === 'pass')) {
return true;
} else if (document.location.origin.startsWith('https://www.fidelity.com')
&& identifier.contains('fs-mask-username')) {

View file

@ -300,7 +300,9 @@ kpxcForm.onSubmit = async function(e) {
return;
}
await kpxc.setPasswordFilled(true);
if (passwordField) {
await kpxc.setPasswordFilled(true);
}
const url = trimURL(kpxc.settings.saveDomainOnlyNewCreds ? window.top.location.origin : window.top.location.href);
await sendMessage('page_set_submitted', [ true, usernameValue, passwordValue, url, kpxc.credentials ]);