From 711ad8226116b11713d67c8570445da73c60c454 Mon Sep 17 00:00:00 2001 From: Kevin MacMartin Date: Fri, 1 Nov 2019 17:10:53 -0400 Subject: [PATCH] Only include the /register route if registration is enabled --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 468e1e6..e755a16 100644 --- a/routes/web.php +++ b/routes/web.php @@ -19,7 +19,7 @@ use App\Utilities\Language; |-------------------------------------------------------------------------- */ -Route::auth(); +Route::auth([ 'register' => env('REGISTRATION', false) ]); Route::get('/logout', 'Auth\LoginController@logout'); /*