[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 <taylor@laravel.com>
This commit is contained in:
Alex Mayer
2020-09-20 21:35:48 -04:00
committed by GitHub
parent 69d0c504e3
commit f1a51f7c62

View File

@@ -17,7 +17,9 @@ class User extends Authenticatable
* @var array
*/
protected $fillable = [
'name', 'email', 'password',
'name',
'email',
'password',
];
/**
@@ -26,7 +28,8 @@ class User extends Authenticatable
* @var array
*/
protected $hidden = [
'password', 'remember_token',
'password',
'remember_token',
];
/**