mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-22 09:40:23 -05:00
Only include the /register route if registration is enabled
This commit is contained in:
parent
6fe8e48c1e
commit
711ad82261
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ use App\Utilities\Language;
|
|||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
Route::auth();
|
||||
Route::auth([ 'register' => env('REGISTRATION', false) ]);
|
||||
Route::get('/logout', 'Auth\LoginController@logout');
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue