Remove dead commented-out code in register_client (#2500)
This commit is contained in:
parent
60c0420775
commit
4f6f0e8bf5
1 changed files with 0 additions and 2 deletions
|
|
@ -240,8 +240,6 @@ async def handle_registration_response(response: Response) -> OAuthClientInforma
|
||||||
content = await response.aread()
|
content = await response.aread()
|
||||||
client_info = OAuthClientInformationFull.model_validate_json(content)
|
client_info = OAuthClientInformationFull.model_validate_json(content)
|
||||||
return client_info
|
return client_info
|
||||||
# self.context.client_info = client_info
|
|
||||||
# await self.context.storage.set_client_info(client_info)
|
|
||||||
except ValidationError as e: # pragma: no cover
|
except ValidationError as e: # pragma: no cover
|
||||||
raise OAuthRegistrationError(f"Invalid registration response: {e}")
|
raise OAuthRegistrationError(f"Invalid registration response: {e}")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue