Only include the /register route if registration is enabled

This commit is contained in:
Kevin MacMartin 2019-11-01 17:10:53 -04:00
parent 6fe8e48c1e
commit 711ad82261

View file

@ -19,7 +19,7 @@ use App\Utilities\Language;
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
*/ */
Route::auth(); Route::auth([ 'register' => env('REGISTRATION', false) ]);
Route::get('/logout', 'Auth\LoginController@logout'); Route::get('/logout', 'Auth\LoginController@logout');
/* /*