Skip to content

Commit

Permalink
2.1.27
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsteampassnet committed Oct 11, 2017
1 parent b9af30e commit 38add93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
Improved the possibility to define the access level on Roles when creating new folder
Added filter in Roles
New: confirm deletion of attachment
#1964 Make email field in new LDAP user insertion null safe
#1956 Warning appears on Category and API pages in admin mode
#1947 Dependency & array update in install checks
#1945 Cannot delete items
Expand Down
4 changes: 2 additions & 2 deletions sources/identify.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,13 +621,13 @@ function identifyUser($sentData)
array(
'login' => $username,
'pw' => $data['pw'],
'email' => @$user_info_from_ad[0]['mail'][0],
'email' => (isset($user_info_from_ad[0]['mail'][0]) === false) ? '' : $user_info_from_ad[0]['mail'][0],
'name' => $user_info_from_ad[0]['givenname'][0],
'lastname' => $user_info_from_ad[0]['sn'][0],
'admin' => '0',
'gestionnaire' => '0',
'can_manage_all_users' => '0',
'personal_folder' => $SETTINGS['enable_pf_feature'] == "1" ? '1' : '0',
'personal_folder' => $SETTINGS['enable_pf_feature'] === "1" ? '1' : '0',
'fonction_id' => '',
'groupes_interdits' => '',
'groupes_visibles' => '',
Expand Down

0 comments on commit 38add93

Please sign in to comment.