Hide vital fields

This commit is contained in:
Pig Fang 2019-03-23 17:40:02 +08:00
parent 7c9735b7b1
commit cd1efcdcfc

View File

@ -38,6 +38,8 @@ class User extends Authenticatable
'verified' => 'bool',
];
protected $hidden = ['password', 'remember_token'];
/**
* Storage size used by user in KiB.
*