diff --git a/app/Models/User.php b/app/Models/User.php index b9f1f76..a747703 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -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. diff --git a/resources/views/layouts/admin.blade.php b/resources/views/layouts/admin.blade.php index 216570b..37a5bea 100644 --- a/resources/views/layouts/admin.blade.php +++ b/resources/views/layouts/admin.blade.php @@ -5,7 +5,7 @@ -