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 7bbbe0a commit 9b44ef8Copy full SHA for 9b44ef8
1 file changed
backend/src/entities/user/user.controller.ts
@@ -297,6 +297,7 @@ export class UserController {
297
description: 'Password reset requested.',
298
type: OperationResultMessageDs,
299
})
300
+ @Throttle({ default: { limit: isTest() ? 200 : 5, ttl: 60000 } })
301
@Post('user/password/reset/request/')
302
async askResetUserPassword(@Body() emailData: RequestRestUserPasswordDto): Promise<OperationResultMessageDs> {
303
return await this.requestResetUserPasswordUseCase.execute(emailData, InTransactionEnum.ON);
0 commit comments