|
|
@@ -30,11 +30,10 @@ export const LoginForm = (props: LoginFormProps): JSX.Element => {
|
|
|
|
|
|
const {
|
|
|
isLocalStrategySetup, isLdapStrategySetup, isPasswordResetEnabled, isRegistrationEnabled,
|
|
|
- isEmailAuthenticationEnabled, registrationMode, registrationWhiteList, isMailerSetup,
|
|
|
+ isEmailAuthenticationEnabled, registrationMode, registrationWhiteList, isMailerSetup, objOfIsExternalAuthEnableds,
|
|
|
} = props;
|
|
|
const isLocalOrLdapStrategiesEnabled = isLocalStrategySetup || isLdapStrategySetup;
|
|
|
- // const isSomeExternalAuthEnabled = Object.values(objOfIsExternalAuthEnableds).some(elem => elem);
|
|
|
- const isSomeExternalAuthEnabled = true;
|
|
|
+ const isSomeExternalAuthEnabled = Object.values(objOfIsExternalAuthEnableds).some(elem => elem);
|
|
|
|
|
|
// states
|
|
|
const [isRegistering, setIsRegistering] = useState(false);
|