mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-24 08:51:25 -05:00
Only show the registration page if registration is enabled or the IP is set correctly, and pull in this update to the traditional-bootstrap
This commit is contained in:
parent
711ad82261
commit
831860bf8a
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ use App\Utilities\Language;
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::auth([ 'register' => env('REGISTRATION', false) ]);
|
Route::auth([ 'register' => env('REGISTRATION', false) === true || env('REGISTRATION', false) === \Request::ip() ]);
|
||||||
Route::get('/logout', 'Auth\LoginController@logout');
|
Route::get('/logout', 'Auth\LoginController@logout');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -19,7 +19,7 @@ use App\Utilities\Language;
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Route::auth();
|
Route::auth([ 'register' => env('REGISTRATION', false) === true || env('REGISTRATION', false) === \Request::ip() ]);
|
||||||
Route::get('/logout', 'Auth\LoginController@logout');
|
Route::get('/logout', 'Auth\LoginController@logout');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue