Просмотр исходного кода

fix: change googleClientSecret input type from text to password for security

Yuki Takei 10 месяцев назад
Родитель
Сommit
e7d4a6fa5a

+ 1 - 1
apps/app/src/client/components/Admin/Security/GoogleSecuritySettingContents.jsx

@@ -122,7 +122,7 @@ class GoogleSecurityManagementContents extends React.Component {
               <div className="col-6">
                 <input
                   className="form-control"
-                  type="text"
+                  type="password"
                   name="googleClientSecret"
                   defaultValue={adminGoogleSecurityContainer.state.googleClientSecret || ''}
                   onChange={e => adminGoogleSecurityContainer.changeGoogleClientSecret(e.target.value)}