Skip to content

Commit 04203cc

Browse files
committed
remove client default hooks
1 parent fb3effe commit 04203cc

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/client/src/config.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -82,18 +82,6 @@ export default {
8282
changePasswordPath: null,
8383
homePath: '/',
8484
signOutPath: '/',
85-
// TODO enable all of these
86-
// onSubmitHook: () => {},
87-
// onPreSignUpHook: () => new Promise(resolve => resolve()),
88-
// onPostSignUpHook: () => {},
89-
onEnrollAccountHook: () =>
90-
redirect(AccountsClient.options().loginPath || '/'),
91-
onResetPasswordHook: () =>
92-
redirect(AccountsClient.options().loginPath || '/'),
93-
onVerifyEmailHook: () =>
94-
redirect(AccountsClient.options().profilePath || '/'),
95-
onSignedInHook: () => redirect(AccountsClient.options().homePath || '/'),
96-
onSignedOutHook: () => redirect(AccountsClient.options().signOutPath || '/'),
9785
loginOnSignUp: true,
9886
persistImpersonation: true,
9987
};

0 commit comments

Comments
 (0)