using the validation version of the method

pull/696/head
Justin Ahn 10 years ago
parent 9480635bf3
commit 1ccd5c3cac
  1. 2
      server/methods/saveUserProfile.coffee

@ -8,7 +8,7 @@ Meteor.methods
Accounts.setPassword Meteor.userId(), settings.password, { logout: false }
if settings.username?
Meteor.users.update Meteor.userId(), { $set: { "username": settings.username } }
Meteor.call 'setUsername', settings.username
profile = {}

Loading…
Cancel
Save