summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorKarim Gillani <karim.gillani@gov.bc.ca>2019-02-04 09:36:21 -0800
committerGitHub <noreply@github.com>2019-02-04 09:36:21 -0800
commitd689a7408b9cd383babea5b78b1b4689ac891c76 (patch)
tree9c6a0317fd258ff946d485b010e3d9d91a2847c2 /models
parentc42f2a05d2be5a8ef2f1c6799b7e70ef5397195c (diff)
downloadwekan-d689a7408b9cd383babea5b78b1b4689ac891c76.tar.gz
wekan-d689a7408b9cd383babea5b78b1b4689ac891c76.tar.bz2
wekan-d689a7408b9cd383babea5b78b1b4689ac891c76.zip
Fix trailing spaces
Diffstat (limited to 'models')
-rw-r--r--models/users.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/users.js b/models/users.js
index a054c1ce..0fdf21a8 100644
--- a/models/users.js
+++ b/models/users.js
@@ -569,7 +569,7 @@ if (Meteor.isServer) {
user.username = user.services.oidc.username;
user.emails = [{ address: email, verified: true }];
const initials = user.services.oidc.fullname.match(/\b[a-zA-Z]/g).join('').toUpperCase();
- user.profile = { initials, fullname: user.services.oidc.fullname, boardView: 'board-view-lists' };
+ user.profile = { initials, fullname: user.services.oidc.fullname, boardView: 'board-view-lists' };
user.authenticationMethod = 'oauth2';
// see if any existing user has this email address or username, otherwise create new