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