Skip to content

Commit d6486b4

Browse files
author
Backstage
committed
feat: make user email unique
1 parent 97e8cee commit d6486b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Resources/UserResource/Schemas/UserForm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public static function configure(Schema $schema): Schema
3838
->label(__('Email'))
3939
->prefixIcon(fn (): BackedEnum => Heroicon::Envelope, true)
4040
->email()
41+
->unique()
4142
->required(),
4243

4344
Select::make('roles')

0 commit comments

Comments
 (0)