mirror of
https://github.com/immich-app/immich.git
synced 2025-12-15 06:24:23 +03:00
fix(server): validate token permission (#21802)
This commit is contained in:
@@ -49,7 +49,7 @@ export class AuthController {
|
||||
}
|
||||
|
||||
@Post('validateToken')
|
||||
@Authenticated()
|
||||
@Authenticated({ permission: false })
|
||||
@HttpCode(HttpStatus.OK)
|
||||
validateAccessToken(): ValidateAccessTokenResponseDto {
|
||||
return { authStatus: true };
|
||||
|
||||
Reference in New Issue
Block a user