Skip to content

Commit

Permalink
Allow to force email on signup form
Browse files Browse the repository at this point in the history
  • Loading branch information
srosset81 committed Sep 23, 2021
1 parent b22ab2a commit 7550289
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const SignupForm = ({ redirectTo, delayBeforeRedirect }) => {
name="email"
component={Input}
label={translate('auth.input.email')}
disabled={loading}
disabled={loading || (searchParams.has('email') && searchParams.has('force-email'))}
/>
</div>
<div className={classes.input}>
Expand Down

0 comments on commit 7550289

Please sign in to comment.