]> BookStack Code Mirror - bookstack/blobdiff - app/User.php
Updated user interfaces for LDAP and added email from LDAP
[bookstack] / app / User.php
index 1be98c3c46d86230b220574414acb863adf216d4..4a5914afd0a0a663289572a35ca4324e3de96cf8 100644 (file)
@@ -24,7 +24,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
      *
      * @var array
      */
-    protected $fillable = ['name', 'email', 'password', 'image_id'];
+    protected $fillable = ['name', 'email', 'image_id'];
 
     /**
      * The attributes excluded from the model's JSON form.
@@ -68,7 +68,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
     }
 
     /**
-     * Loads the user's permissions from thier role.
+     * Loads the user's permissions from their role.
      */
     private function loadPermissions()
     {