[8.x] Update User Model to Match Jetstream Formatting (#5422)
* Update User Model to Match Jetstream Formatting * Update User.php Co-authored-by: Taylor Otwell <[email protected]>
This commit is contained in:
co-authored by
Taylor Otwell
parent
69d0c504e3
commit
f1a51f7c62
+5
-2
@@ -17,7 +17,9 @@ class User extends Authenticatable
|
|||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $fillable = [
|
protected $fillable = [
|
||||||
'name', 'email', 'password',
|
'name',
|
||||||
|
'email',
|
||||||
|
'password',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -26,7 +28,8 @@ class User extends Authenticatable
|
|||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $hidden = [
|
protected $hidden = [
|
||||||
'password', 'remember_token',
|
'password',
|
||||||
|
'remember_token',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user