Skip to content

Commit aa857aa

Browse files
committed
chore: revert changes with plugin config
1 parent f4f1d3a commit aa857aa

File tree

19 files changed

+35
-44
lines changed

19 files changed

+35
-44
lines changed

lib/build/emailpassword-shared3.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/emailverification-shared.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/genericComponentOverrideContext.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/multifactorauth-shared.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/multifactorauth-shared2.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/oauth2provider-shared.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/passwordless-shared.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/thirdparty-shared.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/build/totp-shared.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/ts/recipe/emailpassword/recipe.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ export default class EmailPassword extends AuthRecipe<
7474
static init(
7575
config?: UserInput
7676
): RecipeInitResult<GetRedirectionURLContext, PreAndPostAPIHookAction, OnHandleEventContext, NormalisedConfig> {
77+
const normalisedConfig = normaliseEmailPasswordConfig(config);
78+
7779
return {
7880
recipeID: EmailPassword.RECIPE_ID,
7981
authReact: (
@@ -84,7 +86,6 @@ export default class EmailPassword extends AuthRecipe<
8486
OnHandleEventContext,
8587
NormalisedConfig
8688
> => {
87-
const normalisedConfig = normaliseEmailPasswordConfig(config);
8889
EmailPassword.instance = new EmailPassword({
8990
...normalisedConfig,
9091
appInfo,
@@ -93,7 +94,6 @@ export default class EmailPassword extends AuthRecipe<
9394
return EmailPassword.instance;
9495
},
9596
webJS: (...args) => {
96-
const normalisedConfig = normaliseEmailPasswordConfig(config);
9797
const init = EmailPasswordWebJS.init({
9898
...normalisedConfig, // plugins are applied by webjs
9999
override: {

0 commit comments

Comments
 (0)