mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix dynamic password input detection when replacing usename
This commit is contained in:
parent
64fda92e27
commit
09adf5d3f5
1 changed files with 3 additions and 2 deletions
|
|
@ -124,9 +124,10 @@ kpxcSites.combinationExceptionFound = function(existingCombination) {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Exception for e.g. Google. They replace the username input with password input using identical className.
|
||||
// Exception for Google. They replace the username input with password input using identical className.
|
||||
// If detected, remove the username from the combination.
|
||||
if (existingCombination?.username?.className?.length > 0
|
||||
if (document.location.origin === 'https://accounts.google.com'
|
||||
&& existingCombination?.username?.className?.length > 0
|
||||
&& existingCombination?.password?.className?.length > 0
|
||||
&& existingCombination?.username?.className === existingCombination?.password?.className) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue