From e3c7204961b7f04340fbf9a0d145ab758bd6cef4 Mon Sep 17 00:00:00 2001 From: Neerholt Date: Tue, 30 Jun 2020 12:21:05 +0200 Subject: [PATCH] Added roles to fillable --- skolehjem/app/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skolehjem/app/User.php b/skolehjem/app/User.php index ac8b735..a7a7023 100644 --- a/skolehjem/app/User.php +++ b/skolehjem/app/User.php @@ -21,7 +21,7 @@ class User extends Authenticatable * @var array */ protected $fillable = [ - 'name_first', "name_last", 'email', 'password', "phone" + 'name_first', "name_last", 'email', 'password', "phone", "roles" ]; /**