mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-19 20:24:38 -04:00
Deny expired credentials
This commit is contained in:
parent
ded0aab586
commit
c67f7afa49
1 changed files with 3 additions and 0 deletions
|
@ -625,6 +625,9 @@ BrowserService::Access BrowserService::checkAccess(const Entry* entry, const QSt
|
||||||
if (!config.load(entry)) {
|
if (!config.load(entry)) {
|
||||||
return Unknown;
|
return Unknown;
|
||||||
}
|
}
|
||||||
|
if (entry->isExpired()) {
|
||||||
|
return Denied;
|
||||||
|
}
|
||||||
if ((config.isAllowed(host)) && (submitHost.isEmpty() || config.isAllowed(submitHost))) {
|
if ((config.isAllowed(host)) && (submitHost.isEmpty() || config.isAllowed(submitHost))) {
|
||||||
return Allowed;
|
return Allowed;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue