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