mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #1169 from keepassxreboot/fix/improve_form_handling
Improve form handling with credential saving
This commit is contained in:
commit
6c88696e3e
1 changed files with 5 additions and 0 deletions
|
|
@ -261,6 +261,11 @@ kpxcForm.onSubmit = async function(e) {
|
|||
form = kpxcSites.savedForm;
|
||||
}
|
||||
|
||||
// Still not found? Try using the first one from kpxcForm.savedForms
|
||||
if (!form && kpxcForm.savedForms.length > 0) {
|
||||
form = kpxcForm.savedForms[0].form;
|
||||
}
|
||||
|
||||
if (!form) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue