diff options
author | Norihito Nakae | 2017-12-04 19:57:06 +0900 |
---|---|---|
committer | Norihito Nakae | 2017-12-04 20:13:15 +0900 |
commit | 2db2ff484fb0911ea699c7fc59b8b1ad868ca992 (patch) | |
tree | 338d72c4d9e58e51e76b662db3edf650200ad117 /lib/web | |
parent | 410268da741d61c9f010514a6e7dd59542a051d8 (diff) |
added guide for SAML settings
Diffstat (limited to 'lib/web')
-rw-r--r-- | lib/web/auth/saml/index.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/web/auth/saml/index.js b/lib/web/auth/saml/index.js index 063fa1d6..386293ae 100644 --- a/lib/web/auth/saml/index.js +++ b/lib/web/auth/saml/index.js @@ -39,7 +39,6 @@ passport.use(new SamlStrategy({ provider: 'saml', id: 'SAML-' + uuid, username: user[config.saml.attribute.username] || user.nameID, - displayName: user[config.saml.attribute.displayName] || user.nameID, emails: user[config.saml.attribute.email] ? [user[config.saml.attribute.email]] : [] } if (profile.emails.length === 0 && config.saml.identifierFormat === 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress') { |