minor
This commit is contained in:
parent
7e4bcd6309
commit
e83cc80dbe
@ -32,8 +32,10 @@ public function handleProviderCallback(string $driver)
|
||||
|
||||
$updates = [];
|
||||
if (blank($user->profile_photo_path)) {
|
||||
$updates['profile_photo_path'] = $this->buildAvatarUrl($social->getAvatar(), $social->token);
|
||||
$updates['profile_photo_path'] = $this->fetchAvatar($social->getAvatar(), $social->token, $user->profilePhotoDisk());
|
||||
$updates['profile_photo_path'] = $this->fetchAvatar(
|
||||
$social->getAvatar(),
|
||||
$social->token,
|
||||
$user->profilePhotoDisk());
|
||||
}
|
||||
if (blank($user->email)) {
|
||||
$updates['email'] = $social->getEmail();
|
||||
|
Loading…
Reference in New Issue
Block a user