mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 14:34:44 +02:00
fixes setting user administrative status; closes #45
This commit is contained in:
parent
4d99d57820
commit
dd58bdfff6
@ -51,11 +51,11 @@ class User extends Model implements AuthenticatableContract,
|
|||||||
protected $table = 'users';
|
protected $table = 'users';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The attributes that are mass assignable.
|
* The attributes that are not mass assignable.
|
||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $fillable = ['name', 'email', 'password', 'use_totp', 'totp_secret', 'language'];
|
protected $guarded = ['id', 'remeber_token', 'created_at', 'updated_at'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The attributes excluded from the model's JSON form.
|
* The attributes excluded from the model's JSON form.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user