Skip to content

Commit

Permalink
docs/tinker: update "add user" example
Browse files Browse the repository at this point in the history
Users now also need a verified email address to sign in. Update the
example accordingly.
  • Loading branch information
schu committed May 2, 2024
1 parent 9fd6d21 commit 9452725
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/tinker.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ php artisan tinker

```
$u = User::create(['name' => 'some', 'email' => 'some@example.com']);
$u->email_verified_at = now();
$u->password = Hash::make('some');
$u->save();
```
Expand Down

0 comments on commit 9452725

Please sign in to comment.