added callback url to the socialite settings

This commit is contained in:
Čarodej
2022-03-05 16:55:02 +01:00
parent 5829eaacc4
commit 81f227c5e7
4 changed files with 35 additions and 8 deletions
@@ -56,10 +56,10 @@ class SocialiteCallbackController extends Controller
]);
// Create User
$user = ($this->createNewUser)($data);
$newUser = ($this->createNewUser)($data);
// Login user
$this->guard->login($user->first());
$this->guard->login($newUser);
return redirect()->to('/platform/files');
}