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:
dingo
2026-03-10 20:36:36 -04:00
co-authored by Claude Happy
parent ad06f69331
commit cb8cb59b22
2 changed files with 22 additions and 1 deletions
+2
View File
@@ -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