mirror of
https://github.com/immich-app/immich.git
synced 2025-11-30 10:15:23 -05: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…
x
Reference in New Issue
Block a user