mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Remove avatar update, since we don’t take URLs for that
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
e950cf4279
commit
e8a0c7f2ce
|
@ -51,10 +51,7 @@ class GoogleAuthController extends Controller
|
||||||
|
|
||||||
|
|
||||||
if ($user) {
|
if ($user) {
|
||||||
$user->update([
|
|
||||||
'avatar' => $socialUser->avatar,
|
|
||||||
]);
|
|
||||||
|
|
||||||
Auth::login($user, true);
|
Auth::login($user, true);
|
||||||
return redirect()->route('home');
|
return redirect()->route('home');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue