Skip to content

Commit c7ce50e

Browse files
authored
fix(console): fix dev feature guard for forgot password methods (#7651)
1 parent 78f99ba commit c7ce50e

File tree

1 file changed

+2
-2
lines changed
  • packages/console/src/pages/SignInExperience/PageContent/utils

1 file changed

+2
-2
lines changed

packages/console/src/pages/SignInExperience/PageContent/utils/parser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ export const sieFormDataParser = {
148148
signUp: signUpFormDataParser.toSignUp(signUp),
149149
signInMode: createAccountEnabled ? SignInMode.SignInAndRegister : SignInMode.SignIn,
150150
customCss: customCss?.length ? customCss : null,
151-
// TODO @wangsijie: Remove this once the feature is ready
152-
...conditional(isDevFeaturesEnabled && { forgotPasswordMethods }),
151+
// TODO @wangsijie: Remove this once forgot password methods feature is ready for production.
152+
forgotPasswordMethods: isDevFeaturesEnabled ? forgotPasswordMethods : null,
153153
};
154154
},
155155
};

0 commit comments

Comments
 (0)