1
0
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:
Saad Jutt
2022-04-28 06:44:25 +05:00
parent a30fb1a241
commit 5da93f318a
25 changed files with 582 additions and 300 deletions

View File

@@ -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
})