Skip to content

v0.0.12

Choose a tag to compare

@github-actions github-actions released this 04 Jul 02:32

fix(auth): stale token on /login no longer deadlocks the loader

A 401 from the bootstrap GET /me while sitting on /login was misread as a
failed sign-in (path-based heuristic), so the token was never cleared and
the app hung on the full-screen spinner (blank login, can't sign in).

  • interceptor keys the 'stay on page' branch off the request URL
    (POST /login|/change-password), not window.location.pathname, so a
    bootstrap /me 401 falls through to logout + redirect
  • App hydration failure now clears the token instead of swallowing it,
    so a failed /me can never strand the app on the loader

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Full Changelog: v0.0.11...v0.0.12