Loyal-Young opened a new pull request, #2130:
URL: https://github.com/apache/rocketmq-dashboard/pull/2130

   ## Summary
   - persist the authenticated user together with the existing token
   - restore a complete session during store initialization
   - clear both session keys after logout or a 401 response
   
   ## Why
   Refreshing the browser previously discarded the in-memory user despite a 
valid persisted token, leaving the interface in an inconsistent session state.
   
   ## Validation
   - `node node_modules/vitest/vitest.mjs run src/stores/authStorage.test.ts 
--pool=threads --maxWorkers=1 --reporter=dot` (3 passed)
   - `node node_modules/typescript/bin/tsc --noEmit --pretty false -p 
tsconfig.app.json`


-- 
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