Handle expired credentials normally

This commit is contained in:
varjolintu authored and Jonathan White committed 2023-07-15 15:28:07 -04:00
1 parent b8da5e0577
commit fa73f100f7
1 file changed
+2 -2
+2 -2
View File
@@ -961,8 +961,8 @@ QJsonObject BrowserService::prepareEntry(const Entry* entry)
BrowserService::Access
BrowserService::checkAccess(const Entry* entry, const QString& siteHost, const QString& formHost, const QString& realm)
{
if (entry->isExpired()) {
return browserSettings()->allowExpiredCredentials() ? Unknown : Denied;
if (entry->isExpired() && !browserSettings()->allowExpiredCredentials()) {
return Denied;
}
BrowserEntryConfig config;