mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
refactor: authController, add session types
This commit is contained in:
1 parent
885f1c5b27
commit
59590639ee
3 files changed
+120
-92
No files matched your search
+9
@@ -0,0 +1,9 @@
|
||||
/* eslint-disable no-undef */
|
||||
/* eslint-disable no-unused-vars */
|
||||
import 'express-session'
|
||||
|
||||
declare module 'express-session' {
|
||||
interface SessionData {
|
||||
newUser?: Express.PendingUser // Adjust the type according to your newUser structure
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user