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