nestjs_auth init..

This commit is contained in:
최준흠 2022-09-09 16:40:39 +09:00
parent 0ffec1be21
commit 64cd01b669

View File

@ -14,7 +14,7 @@ export class AuthController {
@UseGuards(LocalAuthGuard) @UseGuards(LocalAuthGuard)
@Post('login') @Post('login')
login(@Request() req) { login(@Request() req) {
console.log(req) //console.log(req)
return this.authService.login(req.user) return this.authService.login(req.user)
} }