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

Merge pull request #10049 from weseek/fix/hide-google-oauth-client-secret

fix: Hide Google OAuth client secret field
mergify[bot] 10 месяцев назад
Родитель
Сommit
ebd78218ec

+ 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)}