guarded false

This commit is contained in:
2020-09-16 05:29:45 +05:00
parent fde11350c7
commit a7fc5177bc
2 changed files with 3 additions and 11 deletions

View File

@@ -18,16 +18,8 @@ class User extends Authenticatable
use Notifiable;
use TwoFactorAuthenticatable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name',
'email',
'password',
];
protected $guarded = [];
/**
* The attributes that should be hidden for arrays.