exam-index

This commit is contained in:
xiaomlove
2021-04-20 20:18:02 +08:00
parent 38afa63e3d
commit 15bd8e800b
6 changed files with 80 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ class User extends Authenticatable
*
* @var array
*/
protected $fillable = ['username', 'email', 'password', 'secret', 'editsecret', 'added'];
protected $fillable = ['username', 'email', 'passhash', 'secret', 'editsecret', 'added'];
/**
* The attributes that should be hidden for arrays.
@@ -96,6 +96,6 @@ class User extends Authenticatable
* @var array
*/
protected $casts = [
'email_verified_at' => 'datetime',
];
}