🔒 Supprime la création de compte

This commit is contained in:
Clement 2020-07-28 16:21:06 +02:00
parent 7d7b949bec
commit 915d94994e

View File

@ -21,7 +21,7 @@ Route::get('/', static function () {
return redirect(\route('home'));
});
Auth::routes();
Auth::routes(['register' => false]);
Route::get('/home', static function () {
if (Auth::guest()) {
return redirect(\route('login'));