📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
incrased sign up rate limir
Blue Mousec2846e109ae3
diff --git a/src/auth/auth.controller.ts b/src/auth/auth.controller.tsindex 8f8f7692b..5b76322e5 100644--- a/src/auth/auth.controller.ts+++ b/src/auth/auth.controller.ts@@ -80,7 +80,7 @@ export class AuthController {async register(@Body() userDTO: SignupUserDTO, /*@Body('recaptcha') recaptcha: string,*/ @Req() request: Request, @Headers() headers, @Ip() reqIP): Promise<any> {this.logger.log({ userDTO }, 'POST /auth/register')const ip = headers['cf-connecting-ip'] || headers['x-forwarded-for'] || reqIP || ''- await checkRateLimit(ip, 'register', 4)+ await checkRateLimit(ip, 'register', 6)// await this.authService.checkCaptcha(recaptcha)this.userService.validatePassword(userDTO.password)