resetPasswordUsingTokenFeature
SuperTokens.init({
appInfo: {
apiDomain: "...",
appName: "...",
websiteDomain: "..."
},
recipeList: [
EmailPassword.init({
resetPasswordUsingTokenFeature: {
disableDefaultImplementation: boolean,
enterEmailForm: {
style: {
container: {
backgroundColor: "#ffeeff"
},
(...)
}
},
submitNewPasswordForm: {
style: {
container: {
backgroundColor: "#ffeeff"
},
(...)
}
}
},
})
]
});
#
Config valuesdisableDefaultImplementation
#
- When
true
, the default route (/auth/reset-password
) for reset password is disabled. - Default:
"false"
enterEmailForm
#
style
- An object to overwrite the styles of the form that is shown after a user clicks on "forgot password".
- Please refer to the common customizations guide for more information about how to update the styles.
submitNewPasswordForm
#
style
- An object to overwrite the submit new password form styles (shown after the password reset link is clicked).
- Please refer to the common customizations guide for more information about how to update the styles.