mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-29 09:11:17 +01:00
The support chat signs in anonymously when there is no session. That session is non-null, so the Account page showed the signed-in card with a blank label (GoTrue reports an anonymous user's email as "") and a Logout button instead of the sign-in options. Add hasAccount/accountLabel helpers shared by LoginPage, the Account overview subtitle and FeedbackSubmissionService.isAnonymous. The label falls back to an identity email, profile name, phone, then user id. LoginPage gets a client test seam and wires it into EmailLoginForm. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>