From f4e262c2ee3ac0aaa461c4444091587ab9d41378 Mon Sep 17 00:00:00 2001 From: Duncan McClean Date: Mon, 8 Jan 2024 12:39:50 +0000 Subject: [PATCH] Don't make it required here. --- src/Auth/UserRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth/UserRepository.php b/src/Auth/UserRepository.php index bc50981293..4dedb94833 100644 --- a/src/Auth/UserRepository.php +++ b/src/Auth/UserRepository.php @@ -64,7 +64,7 @@ public function blueprint() $blueprint = Blueprint::find('user') ?? Blueprint::makeFromFields([ 'name' => ['type' => 'text', 'display' => 'Name', 'listable' => true], - 'email' => ['type' => 'text', 'input_type' => 'email', 'display' => 'Email Address', 'listable' => true, 'validate' => 'required'], + 'email' => ['type' => 'text', 'input_type' => 'email', 'display' => 'Email Address', 'listable' => true], ])->setHandle('user'); $blueprint->ensureField('email', ['type' => 'text', 'input_type' => 'email', 'display' => 'Email Address', 'listable' => true]);