update user attributes list(#10443)
This commit is contained in:
parent
bab07d4f61
commit
cde9238591
|
@ -103,16 +103,16 @@ function login_saml_successfull()
|
|||
|
||||
$attributes = $simplesaml->getAttributes();
|
||||
$login = $attributes['uid'][0];
|
||||
$first_name = $attributes['gn'][0];
|
||||
$last_name = $attributes['sn'][0];
|
||||
$first_name = $attributes['first_name'][0];
|
||||
$last_name = $attributes['last_name'][0];
|
||||
$email = $attributes['email'][0];
|
||||
$nameid = $attributes['NameID'][0];
|
||||
$display_name = $first_name . ' ' . $last_name;
|
||||
$street = $attributes['street'][0];
|
||||
$zipcode = $attributes['postalCode'][0];
|
||||
$city = $attributes['l'][0];
|
||||
$street = $attributes['address'][0];
|
||||
$zipcode = $attributes['zipcode'][0];
|
||||
$city = $attributes['city'][0];
|
||||
$mobile = $attributes['mobile'][0];
|
||||
$phone = $attributes['telephoneNumber'][0];
|
||||
$phone = $attributes['phone'][0];
|
||||
$fax = $attributes['fax'][0];
|
||||
|
||||
if (!$nameid) {
|
||||
|
|
Reference in New Issue