Skip to content
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

Add password recovery functions to client #70

Merged
merged 3 commits into from
Feb 28, 2017
Merged

Conversation

pradel
Copy link
Member

@pradel pradel commented Feb 24, 2017

#40

@pradel pradel requested a review from TimMikeladze February 24, 2017 18:18
resetPassword(token: string, newPassword: string): Promise<void> {
return this.instance.resetPassword(token, newPassword);
},
requestPasswordReset(userId: string, email?: string): Promise<void> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation question: Is it necessary to have userId passed in here? This code is being called on the client who isn't signed in, where does the userId come from?

Copy link
Member

@TimMikeladze TimMikeladze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would like to see some tests around this.

@TimMikeladze
Copy link
Member

TimMikeladze commented Feb 28, 2017

@pradel Is this ready to merge?

@pradel
Copy link
Member Author

pradel commented Feb 28, 2017

I will add some tests before

@pradel
Copy link
Member Author

pradel commented Feb 28, 2017

Should be good now

@TimMikeladze TimMikeladze merged commit 6004d34 into master Feb 28, 2017
@pradel pradel deleted the password-client branch March 2, 2017 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants