Files
swiftcontrol/test/utils/auth
Jonas Bark 67643075a5 fix(account): treat anonymous sessions as signed out on the Account page
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>
2026-09-16 21:16:00 +02:00
..