Skip expired autoopen items (#13922)

When an entry in the autoopen folder is marked expired, no longer execute autoopen.
This commit is contained in:
Litschi21 authored and GitHub committed 2026-11-30 06:30:47 -05:00
1 parent e9dc281454
commit 1abf760fc9
1 file changed
+2 -1
+2 -1
View File
@@ -2762,7 +2762,8 @@ void DatabaseWidget::processAutoOpen()
}
for (const auto* entry : autoopenGroup->entries()) {
if (entry->url().isEmpty() || (entry->password().isEmpty() && entry->username().isEmpty())) {
if (entry->isExpired() || entry->url().isEmpty()
|| (entry->password().isEmpty() && entry->username().isEmpty())) {
continue;
}