-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement the EmailPassword recipeModule #19
Comments
@NkxxkN , So I propose that we add another object in the config:
NOTEWe will do this later |
I agree that at first sight it should be part of emailpassword since it is login related. In the future we will build other forms of login and they will share the logout method. Thinking like this, logout might be something that's implemented by
Agreed! |
I think that logout should specific to each recipe as it's tightly coupled with how the login for that recipe works. Sure, many times it's going to have the same implementation, however, it's still semantically a function of that recipe (just like how signin is a function of a recipe) |
import EmailPassword from "supertokens-node/recipe/emailpassword"
disableDefaultImplementation
boolean
passed to them in theirinit
function.init
function of this module takes options as per the above features:The text was updated successfully, but these errors were encountered: