dengliming opened a new issue, #619:
URL: https://github.com/apache/shenyu-dashboard/issues/619

   ## Description
   The user edit modal and the registry edit modal render the password with a 
normal `Input` (not `Input.Password`) and set `initialValue` to the value 
received from the backend.
   
   ## Location
   (Lines refer to `master @ 83969a5`.)
   - `src/routes/System/User/AddModal.js:41,92-99`
   - `src/routes/System/Registry/AddModal.js:62,172-173`
   
   ## Impact
   Stored secrets are displayed in clear text on screen (shoulder surfing, 
screen sharing, screenshots) whenever the backend returns the field.
   
   ## Suggested fix
   Use `Input.Password`, and leave the field empty on edit (only send a 
password when the user typed a new one).
   
   ## Related existing
   None
   


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