mirror of
https://github.com/sasjs/server.git
synced 2026-01-07 14:40:05 +00:00
feat: enabled session based authentication for web
This commit is contained in:
@@ -24,7 +24,7 @@ export class SessionController {
|
||||
}
|
||||
|
||||
const session = (req: any) => ({
|
||||
id: req.user.id,
|
||||
id: req.user.userId,
|
||||
username: req.user.username,
|
||||
displayName: req.user.displayName
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user