Fixed
This commit is contained in:
parent
eaccd5224a
commit
8d408c4704
@ -1,9 +1,13 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Auth;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::auth();
|
||||
Route::get('/', function () {
|
||||
if (Auth::check()){
|
||||
return redirect()->route('maintenance.planned');
|
||||
}
|
||||
return redirect()->route('login');
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user