Commit 52f6866
authored
fix: no bcrypt() on password
A tiny tweak. The `User` password field is hashed and fillable by default.
```
> User::factory()->create(['name' => 'Foo Bar', 'email' => 'foobar@bar.com', 'password' => 'password']);
= App\Models\User {#6235
name: "Foo Bar",
email: "foobar@bar.com",
email_verified_at: "2025-08-21 16:03:43",
#password: "$2y$12$hrgAUJvdNYqs6AMetC/.c.X6AicAJIlQ7s/uGKdZAb6Bc.rySIsZ2",
#remember_token: "tokK0VCbRy",
updated_at: "2025-08-21 16:03:43",
created_at: "2025-08-21 16:03:43",
id: 1,
}
```1 parent c5be53b commit 52f6866
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments