Remove dead commented-out code in register_client (#2500)

This commit is contained in:
Zach Leventer 2026-06-02 12:30:57 -04:00 • committed by GitHub
commit 4f6f0e8bf5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -240,8 +240,6 @@ async def handle_registration_response(response: Response) -> OAuthClientInforma
content = await response.aread()
client_info = OAuthClientInformationFull.model_validate_json(content)
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
raise OAuthRegistrationError(f"Invalid registration response: {e}")