feat(auth): disable public registration while keeping member login

This commit is contained in:
2026-02-13 08:15:45 +08:00
parent 7095be82d5
commit 5c3866446c
5 changed files with 24 additions and 9 deletions

View File

@@ -112,4 +112,15 @@ return [
'password_timeout' => 10800,
/*
|--------------------------------------------------------------------------
| Public Registration Toggle
|--------------------------------------------------------------------------
|
| Control whether public-facing registration routes are exposed.
| Keep this disabled when onboarding is invite/import only.
|
*/
'registration_enabled' => env('REGISTRATION_ENABLED', false),
];