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

   ## What
   
   Reset the create Studio user form when the modal is cancelled or reopened.
   
   ## Why
   
   `onCancel` only called `setCreateOpen(false)`. The password dialog already 
resets on cancel; the create dialog did not. After entering a password and 
enabling admin and cancelling, the next open still showed those values — a 
residual-secret / residual-privilege risk if the operator confirms by mistake.
   
   Closes the residual-form gap reported in #4252 (previous PR #4253 was closed 
unmerged).
   
   ## How
   
   - `onCancel`: close and `createForm.resetFields()`
   - `openCreateUserModal`: reset before opening


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