From 4d9d3aed8aa613272877489c06ea7e30b5984ea2 Mon Sep 17 00:00:00 2001 From: MOHAN Date: Wed, 22 Jul 2026 18:30:53 +0530 Subject: [PATCH] Fix duplicate auth nonce guard --- src/auth/auth.controller.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/auth/auth.controller.ts b/src/auth/auth.controller.ts index 3bad417..083a704 100644 --- a/src/auth/auth.controller.ts +++ b/src/auth/auth.controller.ts @@ -1,4 +1,4 @@ -import { Body, Controller, Delete, Get, Param, Patch, Post, Query, Req, UseGuards } from "@nestjs/common"; +import { Body, Controller, Delete, Get, Param, Patch, Post, Query, Req } from "@nestjs/common"; import { Request } from "express"; import { ok } from "../common/response"; import { requestContextFrom } from "../abuse/abuse.types"; @@ -9,12 +9,10 @@ import { RegisterDto } from "./dto/register.dto"; import { UpdateProfileDto } from "./dto/update-profile.dto"; import { ForgotPasswordDto } from "./dto/forgot-password.dto"; import { ResetPasswordDto } from "./dto/reset-password.dto"; -import { JwtAuthGuard } from "../common/guards/jwt-auth.guard"; import { CurrentUser } from "../common/decorators/current-user.decorator"; import { Public } from "../common/decorators/public.decorator"; @Controller("auth") -@UseGuards(JwtAuthGuard) export class AuthController { constructor( private readonly authService: AuthService,