diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index e7836c47e..7fc764082 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -99,25 +99,6 @@ class LoginController extends Controller ->redirect(); } - /** - * Redirect to the provider's website - * - * @return Socialite - */ - public function redirectToProviderAlt($profile = null, Socialite $social) { - //The default scope is public data for everyone due to the OAuth2 Token - $scopes = ['publicData']; - - //Let's put some information in the session to designate this is an alt call - session()->put('altCall', true); - - dd($social); - - return $social->driver('eveonline') - ->scopes($scopes) - ->redirect(); - } - /** * Get token from callback * Redirect to the dashboard if logging in successfully. diff --git a/resources/views/dashboard/profile.blade.php b/resources/views/dashboard/profile.blade.php index d83a39aa9..33cc4d934 100644 --- a/resources/views/dashboard/profile.blade.php +++ b/resources/views/dashboard/profile.blade.php @@ -136,7 +136,7 @@

Register Alts for SRP Form

- +
diff --git a/routes/web.php b/routes/web.php index 34394b04c..cd648ee2f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -23,7 +23,6 @@ Route::get('/', function () { * Login Display pages */ Route::get('/login', 'Auth\LoginController@redirectToProvider')->name('login'); -Route::get('/altlogin', 'Auth\LoginController@redirectToProviderAlt')->name('altlogin'); Route::get('/callback', 'Auth\LoginController@handleProviderCallback')->name('callback'); Route::get('/logout', 'Auth\LoginController@logout');