mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Add hashed cast to user password (#6171)
* Add `hashed` cast to user password * Update composer.json
This commit is contained in:
parent
90acdfe92b
commit
7e0a2db2e0
@ -40,5 +40,6 @@ class User extends Authenticatable
|
||||
*/
|
||||
protected $casts = [
|
||||
'email_verified_at' => 'datetime',
|
||||
'password' => 'hashed',
|
||||
];
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
"require": {
|
||||
"php": "^8.1",
|
||||
"guzzlehttp/guzzle": "^7.2",
|
||||
"laravel/framework": "^10.8",
|
||||
"laravel/framework": "^10.10",
|
||||
"laravel/sanctum": "^3.2",
|
||||
"laravel/tinker": "^2.8"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user