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

Disable ID/Password switch button

Mudana-Grune 2 лет назад
Родитель
Сommit
9b8d38db45
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/components/Admin/Security/LocalSecuritySettingContents.jsx

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

@@ -71,7 +71,7 @@ class LocalSecuritySettingContents extends React.Component {
                 id="isLocalEnabled"
                 id="isLocalEnabled"
                 checked={isLocalEnabled}
                 checked={isLocalEnabled}
                 onChange={() => adminGeneralSecurityContainer.switchIsLocalEnabled()}
                 onChange={() => adminGeneralSecurityContainer.switchIsLocalEnabled()}
-                disabled={adminLocalSecurityContainer.state.useOnlyEnvVars}
+                disabled
               />
               />
               <label className="custom-control-label" htmlFor="isLocalEnabled">
               <label className="custom-control-label" htmlFor="isLocalEnabled">
                 {t('security_settings.Local.enable_local')}
                 {t('security_settings.Local.enable_local')}