Skip to content

Commit 9504174

Browse files
committed
Only expire sessions from dynamic clients
1 parent dab640a commit 9504174

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/tasks/src/sessions.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ impl RunnableJob for ExpireInactiveOAuthSessionsJob {
9090
let filter = OAuth2SessionFilter::new()
9191
.with_last_active_before(self.threshold())
9292
.for_any_user()
93+
.only_dynamic_clients()
9394
.active_only();
9495

9596
let pagination = self.pagination(100);

0 commit comments

Comments
 (0)