We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20b5c99 commit 5e07e4eCopy full SHA for 5e07e4e
server/src/auth/auth.controller.ts
@@ -12,6 +12,7 @@ import { AuthGuard } from '@nestjs/passport';
12
import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';
13
import type { Request, Response } from 'express';
14
15
+import { UseThrottle } from '@server/Throttle/Throttles';
16
import { AuthService } from './auth.service';
17
import { MagicLinkEmailStrategy } from './strategies/magicLinkEmail.strategy';
18
@@ -26,6 +27,7 @@ export class AuthController {
26
27
private readonly magicLinkEmailStrategy: MagicLinkEmailStrategy,
28
) {}
29
30
+ @UseThrottle('very-long')
31
@Post('login/magic-link')
32
@ApiOperation({
33
summary:
0 commit comments