Fix user not filling email, password and remember_token
This commit is contained in:
+8
-1
@@ -25,7 +25,14 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
|
||||
* Items which can be mass assigned.
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['username'];
|
||||
protected $fillable = [
|
||||
'username',
|
||||
'password',
|
||||
'email',
|
||||
'remember_token',
|
||||
'active',
|
||||
'level',
|
||||
];
|
||||
|
||||
/**
|
||||
* Hash any password being inserted by default
|
||||
|
||||
Reference in New Issue
Block a user