Skip to content

Commit

Permalink
fix: remove testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTWF authored Oct 21, 2023
1 parent 0ba5f23 commit 9d296be
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,8 @@

Route::middleware(['guest'])->group(function () {
Route::get('/auth/redirect', function () {
$user = User::updateOrCreate(
['id' => 1203533],
[
'role_id' => 1,
'name' => 'Test User',
]
);
Auth::login($user);
return to_route('filament.pages.dashboard');
return Socialite::driver('vatsimconnect')->redirect();
})->name('vatsimconnect.redirect');

Route::get('/auth/callback', [VatsimConnectController::class, 'callback']);
});

Expand Down

0 comments on commit 9d296be

Please sign in to comment.