mirror of
https://github.com/Drop-OSS/drop
synced 2026-08-27 14:23:05 -04:00
Fix non-authenticated users being counted as sessions (#362)
This commit is contained in:
parent
236022e99f
commit
f3e90bd033
1 changed files with 1 additions and 0 deletions
|
|
@ -87,6 +87,7 @@ export default function createDBSessionHandler(): SessionProvider {
|
|||
expiresAt: {
|
||||
gt: DateTime.now().toJSDate(),
|
||||
},
|
||||
userId: { not: null },
|
||||
},
|
||||
})
|
||||
).length || 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue