Skip to content

Commit

Permalink
Meteor.user()._id -> Meteor.userId()
Browse files Browse the repository at this point in the history
  • Loading branch information
Emily Stark committed Jun 20, 2014
1 parent 367516a commit abd9299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/accounts-password/password_client.js
Expand Up @@ -129,7 +129,7 @@ Accounts.changePassword = function (oldPassword, newPassword, callback) {
// in Meteor.loginWithPassword.
srpUpgradePath({
upgradeError: error,
userSelector: { id: Meteor.user()._id },
userSelector: { id: Meteor.userId() },
plaintextPassword: oldPassword
}, function (err) {
if (err) {
Expand Down

0 comments on commit abd9299

Please sign in to comment.