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…
Reference in New Issue