diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-06-01 17:56:00 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-06-03 06:46:41 +0200 |
commit | 7f6929608c6423505778722dd4cb7bf8e837729e (patch) | |
tree | 67b1cca95c23e79e939a579c651ecbe42e37c8dd /sandstorm.js | |
parent | 5f09c0ce406075bbd1ed9061f444e615375aa2d3 (diff) | |
download | wekan-7f6929608c6423505778722dd4cb7bf8e837729e.tar.gz wekan-7f6929608c6423505778722dd4cb7bf8e837729e.tar.bz2 wekan-7f6929608c6423505778722dd4cb7bf8e837729e.zip |
Work on the user account system
Allow a user to modifies its name, username, initials, and password.
Fixes username handling on sandstorm.
Fixes #149.
Diffstat (limited to 'sandstorm.js')
-rw-r--r-- | sandstorm.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sandstorm.js b/sandstorm.js index 46b92741..b2b4d88b 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -88,10 +88,6 @@ if (isSandstorm && Meteor.isServer) { } }); } - - // The sandstom user package put the username in `profile.name`. We need to - // move this field value to follow our schema. - Users.update(doc._id, { $rename: { 'profile.name': 'username' }}); }); } |