-
Notifications
You must be signed in to change notification settings - Fork 42
feat: Add reset password email functions #385
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
Conversation
): | ||
link = await create_reset_password_link(user_id, tenant_id, user_context) | ||
if isinstance(link, CreateResetPasswordLinkUknownUserIdError): | ||
return CreateResetPasswordEmailUnknownUserIdError() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be SendResetPasswordEmail.. right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
): | ||
link = await create_reset_password_link(user_id, tenant_id, user_context) | ||
if isinstance(link, CreateResetPasswordLinkUknownUserIdError): | ||
return CreateResetPasswordEmailUnknownUserIdError() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be SendResetPasswordEmail... right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
user_context, | ||
) | ||
|
||
return CreateResetPasswordEmailOkResult() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be SendResetPasswordEmail... right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Summary of change
Add reset password email functions
Related issues
Checklist for important updates
coreDriverInterfaceSupported.json
file has been updated (if needed)supertokens_python/constants.py
frontendDriverInterfaceSupported.json
file has been updated (if needed)setup.py
supertokens_python/constants.py
git tag
) in the formatvX.Y.Z
, and then find the latest branch (git branch --all
) whoseX.Y
is greater than the latest released tag.supertokens_python/utils.py
file to include that in theFRAMEWORKS
variablesyncio
/asyncio
functions are consistent.Remaining TODOs for this PR