@@ -399,6 +399,7 @@ export const LoginForm = (props: LoginFormProps): JSX.Element => {
</div>
{/* email */}
<input type="email"
+ readOnly={!isMailerSetup && isEmailAuthenticationEnabled}
className="form-control rounded-0"
onChange={(e) => { setEmailForRegister(e.target.value) }}
placeholder={t('Email')}
@@ -54,7 +54,7 @@ const LoginPage: NextPage<Props> = (props: Props) => {
isRegistrationEnabled={true}
registrationWhiteList={props.registrationWhiteList}
isPasswordResetEnabled={true}
- isMailerSetup={true}
+ isMailerSetup={props.isMailerSetup}
/>
</NoLoginLayout>
);