summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-02-04 20:23:41 +0200
committerGitHub <noreply@github.com>2019-02-04 20:23:41 +0200
commitb06e11ba09813ea3bc6390ac996a1776c7e1c50c (patch)
tree9c6a0317fd258ff946d485b010e3d9d91a2847c2
parentc899218fb9434fa307274bacd1c58feccd4d3b19 (diff)
parentd689a7408b9cd383babea5b78b1b4689ac891c76 (diff)
downloadwekan-b06e11ba09813ea3bc6390ac996a1776c7e1c50c.tar.gz
wekan-b06e11ba09813ea3bc6390ac996a1776c7e1c50c.tar.bz2
wekan-b06e11ba09813ea3bc6390ac996a1776c7e1c50c.zip
Merge pull request #2164 from gil0109/edge
Fix trailing spaces for OIDC fix
-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