Skip to content
Snippets Groups Projects
Unverified Commit a1a80b23 authored by Robin Ward's avatar Robin Ward
Browse files

More options from SAML auth hash

parent 2d17f828
No related branches found
No related tags found
No related merge requests found
...@@ -31,8 +31,9 @@ class SamlAuthenticator < ::Auth::OAuth2Authenticator ...@@ -31,8 +31,9 @@ class SamlAuthenticator < ::Auth::OAuth2Authenticator
end end
uid = auth[:uid] uid = auth[:uid]
result.name = auth[:info].name || uid
result.username = uid result.username = uid
result.email = uid result.email = auth[:info].email || uid
result.email_valid = true result.email_valid = true
current_info = ::PluginStore.get("saml", "saml_user_#{uid}") current_info = ::PluginStore.get("saml", "saml_user_#{uid}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment