Skip to content

Commit

Permalink
feat: add provider
Browse files Browse the repository at this point in the history
  • Loading branch information
halivert committed Jul 13, 2023
1 parent 9c9d39a commit 545b277
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Actions/Fortify/CreateNewUser.php
Expand Up @@ -21,7 +21,7 @@ public function create(array $input): User
{
Validator::make($input, [
'name' => ['required', 'string', 'max:255'],
'username' => ['required', 'string', 'max:255', 'unique'],
'username' => ['required', 'string', 'max:255', 'unique:users'],
'email' => [
'required',
'string',
Expand Down
1 change: 1 addition & 0 deletions config/app.php
Expand Up @@ -168,6 +168,7 @@
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
App\Providers\FortifyServiceProvider::class,
])->toArray(),

/*
Expand Down

0 comments on commit 545b277

Please sign in to comment.