mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
Merge pull request #2164 from gil0109/edge
Fix trailing spaces for OIDC fix
This commit is contained in:
commit
b06e11ba09
1 changed files with 1 additions and 1 deletions
|
|
@ -569,7 +569,7 @@ if (Meteor.isServer) {
|
||||||
user.username = user.services.oidc.username;
|
user.username = user.services.oidc.username;
|
||||||
user.emails = [{ address: email, verified: true }];
|
user.emails = [{ address: email, verified: true }];
|
||||||
const initials = user.services.oidc.fullname.match(/\b[a-zA-Z]/g).join('').toUpperCase();
|
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';
|
user.authenticationMethod = 'oauth2';
|
||||||
|
|
||||||
// see if any existing user has this email address or username, otherwise create new
|
// see if any existing user has this email address or username, otherwise create new
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue