changes to login controller

This commit is contained in:
2018-10-28 23:35:21 -05:00
parent b75a343806
commit 78269cfd9c

View File

@@ -72,9 +72,7 @@ class LoginController extends Controller
* Redirect to the dashboard if logging in successfully.
*/
public function handleProviderCallback() {
if(!Auth::check()) {
return redirect()->to('/');
}
$ssoUser = Socialite::driver('eveonline')->user();
$user = $this->createOrGetUser($ssoUser);