NUAAwqy opened a new pull request, #7129:
URL: https://github.com/apache/rocketmq-dashboard/pull/7129

   ### What does this PR do?
   
   A protected request started under an earlier login could return 401 after 
the user logged out and logged in again; both the Axios interceptor and the AI 
send/attach stream paths then unconditionally cleared the new session and 
redirected to `/login`. Requests are now stamped with a session epoch captured 
at dispatch, and the 401 handler only clears/redirects when the epoch still 
matches the current login. Current-session expiry behavior is unchanged; 
regression tests cover both the stale and the current cases.
   
   Fixes #7097
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to