Skip to content

Commit

Permalink
Update routes.php
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkregel committed Sep 30, 2023
1 parent 8160d39 commit 3826dce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

use Illuminate\Support\Facades\Route;

Route::get(
Route::middleware(config('laravel-flight.middleware'))
->get(
config('laravel-flight.prefix').config('laravel-flight.login_redirect'),
Kregel\Flight\Controllers\LoginController::class
)->name('flight.login');

Route::get(
Route::middleware(config('laravel-flight.middleware'))
->get(
config('laravel-flight.prefix').'/callback',
Kregel\Flight\Controllers\CallbackController::class
)->name('flight.callback');

0 comments on commit 3826dce

Please sign in to comment.