Deny expired credentials

This commit is contained in:
varjolintu 2018-07-13 13:45:39 +03:00 committed by Jonathan White
parent ded0aab586
commit c67f7afa49

View File

@ -625,6 +625,9 @@ BrowserService::Access BrowserService::checkAccess(const Entry* entry, const QSt
if (!config.load(entry)) {
return Unknown;
}
if (entry->isExpired()) {
return Denied;
}
if ((config.isAllowed(host)) && (submitHost.isEmpty() || config.isAllowed(submitHost))) {
return Allowed;
}