Merge pull request #5991 from turbo124/v5-develop

Fix for missing method property
This commit is contained in:
David Bomba 2021-06-10 15:06:42 +10:00 committed by GitHub
commit 8e0dc5c191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -513,11 +513,12 @@ class LoginController extends BaseController
{
nlog('found user and updating their user record');
$name = OAuth::splitName($socialite_user->getName());
$update_user = [
'first_name' => $name[0],
'last_name' => $name[1],
'password' => '',
// 'password' => '',
'email' => $socialite_user->getEmail(),
'oauth_user_id' => $socialite_user->getId(),
'oauth_provider_id' => $provider,