Skip to content

Commit

Permalink
MSFTMPP-139: Quick bugfix for user sync
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmcq committed Mar 24, 2015
1 parent 885e4a9 commit d9d2247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/o365/classes/rest/azuread.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public function create_user_from_aaddata($aaddata) {

$newuser = (object)[
'auth' => 'oidc',
'username' => trim(\core_text::strtolower($aaddata['objectId'])),
'username' => trim(\core_text::strtolower($aaddata['mail'])),
'email' => $aaddata['mail'],
'firstname' => $aaddata['givenName'],
'lastname' => $aaddata['surname'],
Expand Down

0 comments on commit d9d2247

Please sign in to comment.