alex-chevski
cba2689406
feat(session): centralize session teardown and refresh
...
Add SessionLifecycleService to reset user-scoped cubits, analytics, socket id and account-scoped preferences on logout, 401 or account deletion. Run the same refresh after every successful auth path, including registration v1/v2, and ignore 401 responses from stale tokens so an old request cannot terminate the new user's session.
Refs: #1113
2026-10-30 15:15:28 +03:00
..
2026-10-30 15:15:28 +03:00
2026-04-07 10:05:11 +03:00
2026-10-14 10:53:38 +03:00
2026-10-14 08:16:20 +03:00
2026-10-30 15:15:21 +03:00
2026-04-07 10:05:11 +03:00
2026-04-07 10:05:11 +03:00
2026-10-30 15:15:21 +03:00
2026-08-26 08:42:47 +03:00
2026-08-14 12:16:03 +03:00
2026-04-07 10:05:11 +03:00
2026-04-07 10:05:11 +03:00
2026-08-14 13:46:00 +03:00
2026-10-12 08:50:33 +03:00
2026-04-07 10:05:11 +03:00
2026-04-07 10:05:11 +03:00
2026-10-16 21:12:40 +03:00
2026-10-14 08:16:20 +03:00
2026-10-30 15:15:21 +03:00
2026-04-07 10:05:11 +03:00
2026-09-02 09:34:25 +03:00
2025-08-01 16:52:03 +03:00
2026-10-30 15:15:28 +03:00
2026-04-07 10:05:11 +03:00
2026-04-07 10:05:11 +03:00
2026-04-07 10:05:11 +03:00
2026-10-30 15:15:21 +03:00
2026-09-02 09:32:14 +03:00
2026-08-03 18:12:05 +03:00
2026-10-14 08:16:20 +03:00
2026-10-12 08:50:33 +03:00
2026-10-30 15:15:21 +03:00
2026-08-28 10:05:40 +03:00
2026-10-30 15:15:28 +03:00
2026-10-30 15:15:28 +03:00
2026-10-30 15:15:28 +03:00
2025-10-08 17:23:51 +03:00
2025-08-01 16:52:03 +03:00
2026-05-28 12:11:29 +03:00
2026-10-29 13:55:38 +03:00
2026-09-28 11:20:52 +03:00