(
private authService: AuthService,
private passwordService: PasswordService,
)
| 26 | @Controller('auth') |
| 27 | export class AuthController { |
| 28 | constructor( |
| 29 | private authService: AuthService, |
| 30 | private passwordService: PasswordService, |
| 31 | ) {} |
| 32 | |
| 33 | @UseGuards(LocalAuthGuard, ThrottlerGuard) |
| 34 | @Throttle({ auth: { limit: 5, ttl: 900000 } }) // 5 attempts per 15 minutes |
nothing calls this directly
no outgoing calls
no test coverage detected