Skip to content
Snippets Groups Projects
Verified Commit eaaae193 authored by Damien's avatar Damien
Browse files

FIX #14594 TIME 1:00 azure saml login

parent b221995a
No related branches found
No related tags found
No related merge requests found
...@@ -662,7 +662,7 @@ class AuthenticationController ...@@ -662,7 +662,7 @@ class AuthenticationController
]); ]);
$attributes = $as->getAttributes(); $attributes = $as->getAttributes();
$login = $attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress'][0]; $login = $attributes['http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name'][0];
if (empty($login)) { if (empty($login)) {
return ['errors' => 'Authentication Failed : login not present in attributes']; return ['errors' => 'Authentication Failed : login not present in attributes'];
} }
......
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