Fixed jwt handling

This commit is contained in:
Sven Heidemann 2023-03-21 19:14:39 +01:00
parent fdc9a118c8
commit 52035af0cc

View File

@ -129,7 +129,6 @@ class AuthController:
return "", 200 return "", 200
@Route.post(f"{BasePath}/refresh") @Route.post(f"{BasePath}/refresh")
@Route.authorize
async def refresh(self) -> Response: async def refresh(self) -> Response:
dto: TokenDTO = JSONProcessor.process(TokenDTO, request.get_json(force=True, silent=True)) dto: TokenDTO = JSONProcessor.process(TokenDTO, request.get_json(force=True, silent=True))
result = await self._auth_service.refresh_async(dto) result = await self._auth_service.refresh_async(dto)