Auth Authenticated Guard Cold Member Sign Out Resets Latch
EPIC:
auth
Authentication
STORY:
authenticated_guard_cold_member
The router-scoped latch lives the whole app run while the household memo is dropped on sign-out. Signing out must clear the latch so a bounce recorded in one session never mis-routes the next.
AC:
sign_out_resets_latch
Session 1 bounces a no-member account to Setup (latch set); sign out; session 2 (a different, onboarded account) opens Setup on purpose. Without the reset the stale latch rescues it off Setup.
session 2 opens Setup on purpose — the stale latch did not rescue it
Expect:
|
|
|
|