Skip to content

Commit

Permalink
fix: attempt to fix occasional crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sampiiiii committed May 9, 2024
1 parent 824c2df commit 98cd23b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {IdempotencyCacheInterceptor} from "@/shared/interceptors/idempotency-cac
import {IdempotencyCache} from "@/shared/decorators/idempotency.decorator";

@Controller("authentication")
@UseInterceptors(IdempotencyCacheInterceptor)
export class AuthenticationController {
constructor(
private readonly authService: AuthenticationService,
Expand All @@ -42,7 +41,7 @@ export class AuthenticationController {
this.logger.log(`LDAP login for user with ID: ${user.id}`, AuthenticationController.name);
return this.authService.login(user);
}

@Post("refresh")
async refreshToken(@Req() req: Request, @Res({passthrough: true}) res: Response) {
const refreshToken = req.cookies.refresh_token;
Expand Down

0 comments on commit 98cd23b

Please sign in to comment.