Skip to content

High performance self-hosted photo and video management solution.

fix(server): validate token permission (#21802)

Jason Rasmussenb4c72fb60926
diff --git a/server/src/controllers/auth.controller.ts b/server/src/controllers/auth.controller.ts
index e865d18f59..636e3a3047 100644
--- a/server/src/controllers/auth.controller.ts
+++ b/server/src/controllers/auth.controller.ts
@@ -49,7 +49,7 @@ export class AuthController {
}
@Post('validateToken')
- @Authenticated()
+ @Authenticated({ permission: false })
@HttpCode(HttpStatus.OK)
validateAccessToken(): ValidateAccessTokenResponseDto {
return { authStatus: true };