diff options
Diffstat (limited to 'app/User.php')
-rw-r--r--[-rwxr-xr-x] | app/User.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/User.php b/app/User.php index 9dcf98e..bfd96a6 100755..100644 --- a/app/User.php +++ b/app/User.php @@ -1,19 +1,21 @@ <?php + namespace App; -use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; +use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { use Notifiable; + /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ - 'name', 'email', 'password', 'prevHash', 'hash', 'email_token' + 'name', 'email', 'password', ]; /** @@ -22,6 +24,6 @@ class User extends Authenticatable * @var array */ protected $hidden = [ - 'password', 'remember_token', 'prevHash', + 'password', 'remember_token', ]; } |