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

admin client dreamcode #4

Merged
merged 2 commits into from Nov 16, 2015
Merged

admin client dreamcode #4

merged 2 commits into from Nov 16, 2015

Conversation

gr2m
Copy link
Member

@gr2m gr2m commented Nov 15, 2015

No description provided.

@gr2m gr2m force-pushed the admin-client branch 3 times, most recently from 0d576c5 to 0ec132c Compare November 15, 2015 17:53

```js
account.tokens.add({
type: 'passwordreset',

Choose a reason for hiding this comment

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

I think it would be nicer to have an explicit function like accountAdmin.forgotPassword('email@address.com') It would be a little less confusing than account.tokens.add. And it can do the account.tokens.add underneath.

If I was building an app with Hoodie. The first thing I would do would be to create a wrapper function around account.tokens.add for password resets otherwise I would immediately forget how to do that. So I would prefer we just do that already.

BREAKING CHANGE:

Cleaning up new Hoodie’s core modules:
hoodiehq/hoodie#436
@gr2m gr2m merged commit cc4cc83 into master Nov 16, 2015
@gr2m gr2m deleted the admin-client branch March 26, 2016 16:21
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.

None yet

2 participants