diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-05-25 21:49:06 +0200 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-05-26 00:18:45 +0200 |
commit | 1b4fcc67f4ec94ed53a2f86ad6889e551f00815e (patch) | |
tree | 134083028cb512e67f864566130c30b44c1626ba /collections/users.js | |
parent | fc2435b042babd8a9b0f946a9cc5696b98cc837c (diff) | |
download | wekan-1b4fcc67f4ec94ed53a2f86ad6889e551f00815e.tar.gz wekan-1b4fcc67f4ec94ed53a2f86ad6889e551f00815e.tar.bz2 wekan-1b4fcc67f4ec94ed53a2f86ad6889e551f00815e.zip |
Upgrade sandstorm integration
Both sandstorm and LibreBoard have significantly evolved since the
last release of LibreBoard on sandstorm. This commit:
* adds some more attributes on the sandstorm manifest
* introduces support with the sandstorm sharing box
* uses a server redirection to point to the board document
* hides the top shortcut bar on sandstorm
Fixes #163.
Diffstat (limited to 'collections/users.js')
-rw-r--r-- | collections/users.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/collections/users.js b/collections/users.js index 1dcccf12..54c0a298 100644 --- a/collections/users.js +++ b/collections/users.js @@ -33,13 +33,10 @@ Users.helpers({ }); Users.before.insert(function(userId, doc) { - doc.profile = {}; + doc.profile = doc.profile || {}; // connect profile.status default doc.profile.status = 'offline'; - - // slugify to username - //doc.username = getSlug(doc.profile.name, ''); }); if (Meteor.isServer) { |