Skip to content

Commit

Permalink
Handle expired credentials normally
Browse files Browse the repository at this point in the history
  • Loading branch information
varjolintu authored and droidmonkey committed Jun 30, 2023
1 parent a5c1298 commit 0592218
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browser/BrowserService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0592218

Please sign in to comment.