Mistake in docs regarding account system #454

Closed
stringlytyped opened this Issue Nov 4, 2012 · 1 comment

Projects

None yet

2 participants

@stringlytyped

The documentation lists a Accounts.setPassword method, but the setPassword function is actually a method of Meteor, not Accounts.

@glasser
Member
glasser commented Nov 5, 2012

Good point!

I'm actually not sure what was intended here --- we moved these functions around between namespaces a few times right before merging the auth branch to devel, and I suspect that we actually intended the code to match what's in the docs (ie, Accounts.setPassword). @n1mmy ?

@glasser glasser added a commit that closed this issue Nov 5, 2012
@glasser glasser Rename Meteor.setPassword to Accounts.setPassword, matching docs.
We meant to do this before releasing 0.5.0 (thus the docs) but mistakenly did
not.

Fixes #454.
bad0726
@glasser glasser closed this in bad0726 Nov 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment