2643fe4276fc7763ede36565919329b692a17c17
When auth.hello is rejected (session expired/revoked), Auth.gd now calls logout() to wipe all auth state (including auth.cfg) and drives the scene change to LoginScreen directly, instead of relying on each scene's own auth_failed handler. This covers all screens (main, collection, etc.) without each needing a handler, and eliminates the race where the auth.hello reply arrived as DISCONNECTED (STATE_CLOSING path, token kept) → reconnect → resend token. main_screen.gd no longer subscribes to auth_failed; session expiry redirect is fully owned by Auth.gd. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
Description
No description provided
53 MiB
Languages
C#
52.7%
HTML
24.9%
GDScript
21.2%
CSS
0.8%
Python
0.3%
Other
0.1%