set username = email when authenticating with Google/Facebook/LinkdeIn #130
This commit is contained in:
@ -31,6 +31,7 @@ class Facebook extends BaseFacebook implements AuthClientInterface
|
|||||||
*/
|
*/
|
||||||
public function getUsername()
|
public function getUsername()
|
||||||
{
|
{
|
||||||
return null;
|
/* returns the e-mail as it corresponds with the username */
|
||||||
|
return $this->getEmail();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -31,6 +31,7 @@ class Google extends BaseGoogle implements AuthClientInterface
|
|||||||
*/
|
*/
|
||||||
public function getUsername()
|
public function getUsername()
|
||||||
{
|
{
|
||||||
return null;
|
/* returns the e-mail as it corresponds with the username */
|
||||||
|
return $this->getEmail();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -31,6 +31,7 @@ class LinkedIn extends BaseLinkedIn implements AuthClientInterface
|
|||||||
*/
|
*/
|
||||||
public function getUsername()
|
public function getUsername()
|
||||||
{
|
{
|
||||||
return null;
|
/* returns the e-mail as it corresponds with the username */
|
||||||
|
return $this->getEmail();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user