diff --git a/app/models/user.rb b/app/models/user.rb index 2a8feda32..86d2fecda 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -467,7 +467,7 @@ class User < ActiveRecord::Base module ApiMethods def hidden_attributes - super + [:password_hash, :bcrypt_password_hash, :email, :email_verification_key] + super + [:password_hash, :bcrypt_password_hash, :email, :email_verification_key, :time_zone, :created_at, :updated_at, :receive_email_notifications, :last_logged_in_at, :last_forum_read_at, :has_mail, :default_image_size, :comment_threshold, :always_resize_images, :favorite_tags, :blacklisted_tags, :base_upload_limit, :recent_tags] end def serializable_hash(options = {})