Fix: login screen UX + chat poll auth guard
- Status label: connect Network.connected so "Connecting…" clears once the WebSocket opens (previously the label stuck forever with no session) - Remember Me: apply font_color override so the checkbox text is visible - Register errors: map ASP.NET Identity password-policy error codes (PasswordTooShort, PasswordRequiresUpper/Lower/NonAlphanumeric/Digit) to user-friendly strings; old WEAK_PASSWORD kept as alias - Chat poll: guard _on_message_poll_tick with Auth.user_id check so the timer cannot send chat.get_messages as the first message on a fresh connection when the user is not yet authenticated (caused by logout not stopping the timer, leaving it running into the next reconnect cycle) 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>
This commit is contained in:
@@ -341,6 +341,8 @@ func _stop_message_polling() -> void:
|
||||
|
||||
|
||||
func _on_message_poll_tick() -> void:
|
||||
if Auth.user_id.is_empty():
|
||||
return
|
||||
if channels.is_empty():
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user