make password hidden
This commit is contained in:
parent
c1e4275399
commit
e18b30e89a
@ -32,6 +32,8 @@ class User extends Model implements AuthenticatableContract
|
||||
'id', 'username', 'email', 'avatar', 'password', 'remember_token', 'creator_id', 'status', 'department_id', 'login_ip', 'login_at', 'created_at', 'updated_at', 'deleted_at'
|
||||
];
|
||||
|
||||
protected array $defaultHidden = ['password', 'remember_token'];
|
||||
|
||||
/**
|
||||
* @var array|string[]
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user