nestjs_auth...
This commit is contained in:
parent
75f6290ead
commit
0d4e2570fc
@ -21,7 +21,7 @@ export class LocalAuthGuard extends AuthGuard('local') {
|
||||
if (err || !user) {
|
||||
throw err || new UnauthorizedException()
|
||||
}
|
||||
console.log('LocalAuthGuard.handleRequest().info =>' + info)
|
||||
//console.log('LocalAuthGuard.handleRequest().info =>' + info)
|
||||
return user
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user