diff --git a/src/app/Http/Controllers/Auth/RegisteredUserController.php b/src/app/Http/Controllers/Auth/RegisteredUserController.php index b96bc61..994cc5a 100644 --- a/src/app/Http/Controllers/Auth/RegisteredUserController.php +++ b/src/app/Http/Controllers/Auth/RegisteredUserController.php @@ -33,6 +33,7 @@ public function store(Request $request): RedirectResponse 'name' => ['required', 'string', 'max:255', 'unique:' . User::class], 'email' => ['required', 'string', 'lowercase', 'email', 'max:255', 'unique:' . User::class], 'password' => ['required', 'confirmed', Rules\Password::defaults()], + 'privacy_policy' => 'accepted', ]); $user = User::create([ diff --git a/src/resources/views/auth/register.blade.php b/src/resources/views/auth/register.blade.php index 3b66eac..eaf4caf 100644 --- a/src/resources/views/auth/register.blade.php +++ b/src/resources/views/auth/register.blade.php @@ -42,11 +42,12 @@