This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch branch-0.6
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/branch-0.6 by this push:
     new a897a47f2 [#4384] fix(UI): Replace to password input for all 
jdbc-password value  (#4413)
a897a47f2 is described below

commit a897a47f2a0596fba8de27c0065af48de741cdf4
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Aug 7 15:09:55 2024 +0800

    [#4384] fix(UI): Replace to password input for all jdbc-password value  
(#4413)
    
    ### What changes were proposed in this pull request?
    
    Set the type of related input field to "password"
    
    ### Why are the changes needed?
    
    Fix: #4384
    
    ### Does this PR introduce _any_ user-facing change?
    
    catalog password input UI was changed
    
    ### How was this patch tested?
    ![Screenshot from 2024-08-06
    
17-17-30](https://github.com/user-attachments/assets/8ee07916-807e-430a-b805-f665b8f71570)
    
    Co-authored-by: Liang Chun <[email protected]>
---
 web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js 
b/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js
index 6c37eefe1..86e7e3b07 100644
--- a/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js
+++ b/web/src/app/metalakes/metalake/rightContent/CreateCatalogDialog.js
@@ -595,6 +595,7 @@ const CreateCatalogDialog = props => {
                                     onChange={event => handleFormChange({ 
index, event })}
                                     data-refer={`props-value-${index}`}
                                     data-prev-refer={`props-${item.key}`}
+                                    type={item.key === 'jdbc-password' ? 
'password' : 'text'}
                                   />
                                 )}
                               </Box>

Reply via email to