Browser: Do not allow site automatically

This commit is contained in:
varjolintu 2025-08-24 11:30:29 +03:00 committed by Jonathan White
parent 7e575c68e2
commit 9529c5b7f1
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01

View file

@ -897,16 +897,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);