mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-27 10:00:38 -05:00
Browser: Do not allow site automatically
This commit is contained in:
parent
142454d08e
commit
e9cf38a6e3
1 changed files with 0 additions and 10 deletions
|
|
@ -898,16 +898,6 @@ void BrowserService::addEntry(const EntryParameters& entryParameters,
|
|||
|
||||
const QString host = QUrl(entryParameters.siteUrl).host();
|
||||
const QString submitHost = QUrl(entryParameters.formUrl).host();
|
||||
BrowserEntryConfig config;
|
||||
config.allow(host);
|
||||
|
||||
if (!submitHost.isEmpty()) {
|
||||
config.allow(submitHost);
|
||||
}
|
||||
if (!entryParameters.realm.isEmpty()) {
|
||||
config.setRealm(entryParameters.realm);
|
||||
}
|
||||
config.save(entry);
|
||||
|
||||
if (downloadFavicon && m_currentDatabaseWidget) {
|
||||
m_currentDatabaseWidget->downloadFaviconInBackground(entry);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue