Skip to content

Commit

Permalink
fix email should be userPrincipalName attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbolino authored and m1guelpf committed Sep 3, 2018
1 parent 16f8f38 commit f9e91c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ protected function mapUserToObject(array $user)
'id' => $user['id'],
'nickname' => null,
'name' => $user['displayName'],
'email' => $user['mail'],
'email' => $user['userPrincipalName'],
'avatar' => null,

'businessPhones' => $user['businessPhones'],
Expand Down

0 comments on commit f9e91c9

Please sign in to comment.