]> BookStack Code Mirror - bookstack/blobdiff - app/User.php
Adds test cases and fixes an issue with the permission checking.
[bookstack] / app / User.php
index 3d77cd8ee009cfe0f4a57d27779f3b52fa4b4b75..8033557e4cb9a0a048c1d7112c90f84dc4e4bf70 100644 (file)
@@ -22,7 +22,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
      * The attributes that are mass assignable.
      * @var array
      */
-    protected $fillable = ['name', 'email', 'image_id', 'display']; //to write in user database 
+    protected $fillable = ['name', 'email', 'image_id'];
 
     /**
      * The attributes excluded from the model's JSON form.