issues
search
14A-D-Ready-team
/
backend
0
stars
0
forks
source link
Sessions
#25
Closed
adamkekesi
closed
2 years ago
adamkekesi
commented
2 years ago
[x] Configure express-session
[x] Create AuthGuard
[x] Get the logged in user using the id stored in the session
Use AuthService.sessionLogin()
[x] Store the current auth state in res.locals
[x] Behavior based on controller decorator metadata:
[x] Auth: only get the logged in user when Auth is placed on the route