Sync up the traditional bootstrap web routes with the base ones

This commit is contained in:
Kevin MacMartin 2021-08-02 16:35:14 -04:00
parent 398b8ad1c0
commit 3335ca34c4

View file

@ -1,5 +1,7 @@
<?php
use Illuminate\Support\Facades\Route;
use App\Dashboard;
use App\Utilities\Language;
/*
@ -19,7 +21,7 @@ use App\Utilities\Language;
|--------------------------------------------------------------------------
*/
Route::auth([ 'register' => env('REGISTRATION', false) === true || env('REGISTRATION', false) === \Request::ip() ]);
Route::auth([ 'register' => Dashboard::canRegister() ]);
Route::get('/logout', 'Auth\LoginController@logout');
/*