Myasnikov Daniil
a7c149c860
fix(dashboard): re-arm the 401 latch once the session recovers
...
unauthorizedHandled was set once per client and never cleared, so it
collapsed every later 401 too, not just the concurrent ones it was meant
to. Harmless for the shipped default handler, which navigates away and
takes the client with it, but the onUnauthorized hook exists precisely so
a caller can re-auth in place, and such a handler would fire exactly once
for the client's lifetime and then go silent.
Clear the latch on any 2xx from either fetch site: a success means the
session is alive again, so the next 401 is a new episode. The storm guard
still holds, since concurrent 401s have no success between them.
Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com >
(cherry picked from commit b6c33926dc )
2026-10-22 10:30:36 +00:00
..
2026-07-16 16:48:33 +05:00
2026-10-16 10:06:52 +00:00
2026-10-16 10:06:52 +00:00
2026-03-25 15:57:25 +05:00
2026-10-16 10:06:52 +00:00
2026-06-02 16:42:58 +03:00
2026-06-23 14:45:53 +05:00
2026-06-18 10:40:05 +05:00
2026-08-04 18:45:25 +00:00
2026-10-16 10:06:52 +00:00
2026-10-07 14:48:08 +00:00
2026-05-03 20:49:47 +05:00
2026-05-26 14:18:22 +05:00
2026-10-16 10:06:52 +00:00
2026-05-29 11:07:19 +03:00
2026-09-03 18:45:14 +05:00
2026-02-14 11:42:52 +01:00
2026-02-10 22:47:20 +05:00
2026-06-22 21:46:49 +03:00
2026-04-28 11:14:27 +02:00
2026-10-16 10:06:52 +00:00
2026-07-23 11:55:03 +00:00
2026-10-16 10:06:52 +00:00
2026-04-13 17:15:09 +03:00
2026-10-22 10:30:36 +00:00
2026-09-08 00:12:54 +02:00
2026-09-08 00:12:54 +02:00
2026-07-06 14:41:33 +04:00
2026-07-03 19:14:15 +03:00
2026-05-25 19:11:52 +03:00
2026-07-20 04:49:57 +03:00
2026-07-10 05:29:23 +00:00
2026-10-16 10:06:52 +00:00
2026-07-14 13:10:59 +03:00
2026-05-31 19:04:20 +05:00
2026-06-23 03:47:31 +03:00
2026-06-02 16:42:58 +03:00
2026-05-25 17:07:02 +03:00
2026-07-03 19:14:27 +03:00
2026-06-08 16:58:51 +03:00
2026-10-16 10:06:52 +00:00
2026-06-22 19:09:10 +03:00
2026-06-22 10:57:27 +03:00
2026-06-02 16:42:58 +03:00
2026-09-29 08:51:58 +00:00
2026-06-02 16:42:58 +03:00
2026-03-02 12:35:14 +05:00
2026-06-09 12:50:35 +03:00
2026-09-18 17:53:38 +00:00
2026-10-16 10:06:52 +00:00
2026-10-10 23:50:31 +00:00
2026-07-28 15:47:17 +00:00
2026-07-10 05:29:23 +00:00
2026-07-10 05:29:23 +00:00
2026-10-16 10:06:52 +00:00
2026-10-16 10:06:52 +00:00
2026-10-16 10:06:52 +00:00
2026-07-21 22:35:10 +03:00
2026-07-13 12:22:38 +05:00
2026-05-14 16:49:00 +03:00
2026-09-25 09:35:57 +05:00
2026-07-03 19:14:33 +03:00
2026-09-07 22:51:35 +00:00
2026-10-16 10:06:52 +00:00
2026-07-06 09:49:50 +05:00
2026-06-24 15:50:36 +03:00
2026-10-16 10:06:52 +00:00
2026-10-16 10:06:52 +00:00
2026-10-16 10:06:52 +00:00
2026-07-16 16:57:41 +03:00
2026-02-10 20:19:03 +01:00
2026-07-02 15:48:29 +03:00
2026-10-16 10:06:52 +00:00
2026-07-20 05:24:04 +03:00
2026-06-22 18:55:38 +03:00
2026-06-02 16:42:58 +03:00
2026-10-16 10:06:52 +00:00
2026-06-24 23:38:38 +03:00
2026-09-30 17:45:05 +03:00
2026-10-16 10:06:52 +00:00
2026-06-22 20:05:54 +03:00
2026-06-02 16:42:58 +03:00
2026-06-22 18:51:06 +03:00
2026-10-16 10:06:52 +00:00
2026-06-23 03:25:16 +03:00
2026-10-13 14:55:16 +00:00
2026-06-23 14:39:14 +03:00
2026-10-16 10:06:52 +00:00
2026-06-02 16:42:58 +03:00
2026-07-16 16:18:37 +03:00
2026-10-04 11:13:32 +03:00
2026-02-11 22:54:56 +01:00
2026-08-04 15:18:42 +00:00
2026-09-02 19:09:38 +05:00
2026-06-16 14:19:47 +05:00
2026-02-06 13:30:58 +03:00
2026-06-02 16:42:58 +03:00
2026-09-23 01:15:39 +03:00
2026-07-10 05:29:23 +00:00
2026-06-02 16:42:58 +03:00
2026-09-24 12:09:34 +05:00
2026-10-16 10:06:52 +00:00
2026-05-31 15:02:33 +05:00
2026-05-11 21:08:41 +03:00
2026-10-16 10:06:52 +00:00
2026-10-04 10:53:45 +03:00
2026-05-28 12:46:57 +05:00
2026-10-14 14:12:06 +05:00
2026-07-03 16:04:46 +03:00
2026-04-20 15:48:53 +03:00
2026-03-25 15:59:22 +05:00
2026-06-25 12:56:49 +05:00
2026-06-02 16:42:58 +03:00
2026-06-02 16:42:58 +03:00
2026-05-11 21:08:41 +03:00