mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix(server): validate token permission (#21802)
This commit is contained in:
parent
74e14b6495
commit
b4c72fb609
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ export class AuthController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Post('validateToken')
|
@Post('validateToken')
|
||||||
@Authenticated()
|
@Authenticated({ permission: false })
|
||||||
@HttpCode(HttpStatus.OK)
|
@HttpCode(HttpStatus.OK)
|
||||||
validateAccessToken(): ValidateAccessTokenResponseDto {
|
validateAccessToken(): ValidateAccessTokenResponseDto {
|
||||||
return { authStatus: true };
|
return { authStatus: true };
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue