[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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -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',
]; ];
/** /**