Reset password Forms reference API
Example of a fully customized "EmailPassword" configuration for the reset password forms.
SuperTokens.init({
appInfo: {...},
recipeList: [
EmailPassword.init({
palette: {...},
resetPasswordUsingTokenFeature: {
enterEmailForm: {
style: {
container: {
backgroundColor: "#ffeeff"
},
(...)
}
},
submitNewPasswordForm: {
style: {
container: {
backgroundColor: "#ffeeff"
},
(...)
}
}
},
(...)
})
]
});
enterEmailForm
Config values
- style:
- Description: An object to overwrite the Sign up form styles. Please refer to the common custimizations guide for more information about how to update the enter email form style.
Example:
style: { container: { marginLeft: "10px", (...) }, link: { color: "orange" } (...) }
submitNewPasswordForm
Config values
- style:
- Description: An object to overwrite the submit new password form styles. Please refer to the common custimizations guide for more information about how to update the sign up form style.
Example:
style: { container: { marginLeft: "10px", (...) }, link: { color: "orange" } (...) }