mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
d2a0bf9923
When /oauthClients.info returns an AuthorizationError, ApiClient logs the user out and clears auth.team. The subsequent re-render of the Authorize component hit the strict useCurrentTeam() and threw before the error UI could render. Make the inner hook tolerate a missing team and fold it into the existing error branch. Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>