Skip to content

Commit

Permalink
fix : forgot password feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
JeevaRamu0104 committed Dec 1, 2023
1 parent 592ae33 commit 6effc89
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/screens/login/HSwitchLoginFlow/HyperSwitchAuth.res
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,8 @@ let make = (~setAuthStatus: HyperSwitchAuthTypes.authStatus => unit, ~authType,
className={`flex flex-col justify-evenly gap-5 h-full w-full !overflow-visible text-grey-600`}>
{switch authType {
| LoginWithPassword => <EmailPasswordForm setAuthType forgetPassword />
| ForgetPassword => forgetPassword ? <EmailForm /> : React.null
| LoginWithEmail
| ForgetPassword =>
forgetPassword ? <EmailForm /> : React.null
| ResendVerifyEmail
| SignUP =>
isMagicLinkEnabled ? <EmailForm /> : <EmailPasswordForm setAuthType forgetPassword />
Expand Down

0 comments on commit 6effc89

Please sign in to comment.