mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Add hidden atributes to User model
This commit is contained in:
@@ -22,5 +22,13 @@ class User extends Model
|
|||||||
public $timestamps = false;
|
public $timestamps = false;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
protected $fillable = ['username', 'email', 'password', 'role'];
|
protected $fillable = ['username', 'email', 'password', 'role'];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $hidden = ['password', 'rsstoken'];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user