Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTWF committed Oct 21, 2023
2 parents 5120575 + 9d296be commit fcd1b6a
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 fcd1b6a

Please sign in to comment.