]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/User.php
Update settings.php
[bookstack] / app / Auth / User.php
index 28fb9c7fc2e17482518b8eee7886f151a5342be5..a581d999340b1d76294a0c2dbb0a55c4501f6190 100644 (file)
@@ -47,7 +47,10 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
      * The attributes excluded from the model's JSON form.
      * @var array
      */
-    protected $hidden = ['password', 'remember_token', 'system_name', 'email_confirmed', 'external_auth_id', 'email'];
+    protected $hidden = [
+        'password', 'remember_token', 'system_name', 'email_confirmed', 'external_auth_id', 'email',
+        'created_at', 'updated_at',
+    ];
 
     /**
      * This holds the user's permissions when loaded.