fixes setting user administrative status; closes #45

This commit is contained in:
Dane Everitt 2016-01-25 19:18:22 -05:00
parent 4d99d57820
commit dd58bdfff6

View file

@ -51,11 +51,11 @@ class User extends Model implements AuthenticatableContract,
protected $table = 'users';
/**
* The attributes that are mass assignable.
* The attributes that are not mass assignable.
*
* @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.