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,