From 0592218fa38242d0b560d2380656f3ef07022060 Mon Sep 17 00:00:00 2001 From: varjolintu Date: Thu, 29 Jun 2023 18:13:34 +0300 Subject: [PATCH] Handle expired credentials normally --- src/browser/BrowserService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/BrowserService.cpp b/src/browser/BrowserService.cpp index f54dae5972..fff8be4be8 100644 --- a/src/browser/BrowserService.cpp +++ b/src/browser/BrowserService.cpp @@ -911,8 +911,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;