Skip to content

Commit

Permalink
[8.x] Update User Model to Match Jetstream Formatting (laravel#5422)
Browse files Browse the repository at this point in the history
* Update User Model to Match Jetstream Formatting

* Update User.php

Co-authored-by: Taylor Otwell <[email protected]>
  • Loading branch information
amayer5125 and taylorotwell authored Sep 21, 2020
1 parent 69d0c50 commit f1a51f7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ class User extends Authenticatable
* @var array
*/
protected $fillable = [
'name', 'email', 'password',
'name',
'email',
'password',
];

/**
Expand All @@ -26,7 +28,8 @@ class User extends Authenticatable
* @var array
*/
protected $hidden = [
'password', 'remember_token',
'password',
'remember_token',
];

/**
Expand Down

0 comments on commit f1a51f7

Please sign in to comment.