1
0
Fork 0
mirror of https://github.com/prurigro/hypothetical.git synced 2025-04-12 08:41:33 -04:00

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');
/*