mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-05 19:40:30 +08:00
feat(server): authenticate user before ws connected (#7777)
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
declare namespace Express {
|
||||
interface Request {
|
||||
user?: import('./core/auth/current-user').CurrentUser;
|
||||
sid?: string;
|
||||
session?: import('./core/auth/current-user').UserSession;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user