🔒 Supprime la création de compte
This commit is contained in:
parent
7d7b949bec
commit
915d94994e
@ -21,7 +21,7 @@ Route::get('/', static function () {
|
|||||||
return redirect(\route('home'));
|
return redirect(\route('home'));
|
||||||
});
|
});
|
||||||
|
|
||||||
Auth::routes();
|
Auth::routes(['register' => false]);
|
||||||
Route::get('/home', static function () {
|
Route::get('/home', static function () {
|
||||||
if (Auth::guest()) {
|
if (Auth::guest()) {
|
||||||
return redirect(\route('login'));
|
return redirect(\route('login'));
|
||||||
|
Loading…
Reference in New Issue
Block a user