Merge pull request #5990 from turbo124/v5-develop

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

View File

@ -34,7 +34,7 @@ class OAuth
* @param Socialite $user * @param Socialite $user
* @return bool|\App\Models\User|\App\Libraries\App\Models\User|null * @return bool|\App\Models\User|\App\Libraries\App\Models\User|null
*/ */
public static function handleAuth($socialite_user) public static function handleAuth($socialite_user, $provider)
{ {
/** 1. Ensure user arrives on the correct provider **/ /** 1. Ensure user arrives on the correct provider **/
$query = [ $query = [