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 userId param to changeEmail method #854

Merged
merged 2 commits into from Mar 27, 2015

Conversation

yourcelf
Copy link
Contributor

Fixes #852.

Fix the ``changeEmail`` method's invocation signature of ``can.edit``,
and fix the definition of ``can.edit`` to allow it to work with users as
the "item".

Note that this relies on "_id" to be unique across collections.  Mongo
won't generate the same ID in two collections, but it is possible to
manually add an object to another collection with a duplicate ID.
@SachaG
Copy link
Contributor

SachaG commented Mar 27, 2015

Thanks!

@SachaG SachaG closed this Mar 27, 2015
@SachaG SachaG reopened this Mar 27, 2015
SachaG added a commit that referenced this pull request Mar 27, 2015
Add userId param to changeEmail method
@SachaG SachaG merged commit f6db466 into VulcanJS:devel Mar 27, 2015
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.

userAccount submit handler calls changeEmail for logged in user instead of user being edited
2 participants