Merge pull request #2523 from keepassxreboot/fix/get_credentials_from_different_db

Fix retrieving credentials from changed DB in unlock dialog
This commit is contained in:
Sami Vänttinen 2025-04-21 11:05:52 +03:00 committed by GitHub
commit 5a6d37acf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -678,7 +678,7 @@ kpxc.retrieveCredentialsCallback = async function(credentials) {
// If credentials are not received, request them again
kpxc.receiveCredentialsIfNecessary = async function() {
if (kpxc.credentials.length === 0 && !_called.retrieveCredentials) {
if (kpxc.credentials.length === 0) {
if (!await isIframeAllowed()) {
return [];
}