nestjs_auth init..
This commit is contained in:
parent
3c28dcb4b6
commit
0ffec1be21
@ -13,6 +13,7 @@ export class JwtAuthGuard extends AuthGuard('jwt') {
|
||||
): boolean | Promise<boolean> | Observable<boolean> {
|
||||
// Add your custom authentication logic here
|
||||
// for example, call super.logIn(request) to establish a session.
|
||||
console.log(context)
|
||||
return super.canActivate(context)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user