Skip to content

Commit 9d296be

Browse files
author
Andy Ford
authored
fix: remove testing code
1 parent 0ba5f23 commit 9d296be

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

routes/web.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,8 @@
2323

2424
Route::middleware(['guest'])->group(function () {
2525
Route::get('/auth/redirect', function () {
26-
$user = User::updateOrCreate(
27-
['id' => 1203533],
28-
[
29-
'role_id' => 1,
30-
'name' => 'Test User',
31-
]
32-
);
33-
Auth::login($user);
34-
return to_route('filament.pages.dashboard');
3526
return Socialite::driver('vatsimconnect')->redirect();
3627
})->name('vatsimconnect.redirect');
37-
3828
Route::get('/auth/callback', [VatsimConnectController::class, 'callback']);
3929
});
4030

0 commit comments

Comments
 (0)