mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-06-22 04:11:32 +10:00
Fix non-authenticated users being counted as sessions (#362)
This commit is contained in:
@@ -87,6 +87,7 @@ export default function createDBSessionHandler(): SessionProvider {
|
|||||||
expiresAt: {
|
expiresAt: {
|
||||||
gt: DateTime.now().toJSDate(),
|
gt: DateTime.now().toJSDate(),
|
||||||
},
|
},
|
||||||
|
userId: { not: null },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
).length || 0
|
).length || 0
|
||||||
|
|||||||
Reference in New Issue
Block a user