mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-21 15:42:31 -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