lib/active_admin/application_settings.rb in activeadmin-1.4.3 vs lib/active_admin/application_settings.rb in activeadmin-2.0.0.rc1
- old
+ new
@@ -33,7 +33,10 @@
:email,
:to_s ]
# To make debugging easier, by default don't stream in development
register :disable_streaming_in, ['development']
+
+ # Remove sensitive attributes from being displayed, made editable, or exported by default
+ register :filter_attributes, [:encrypted_password, :password, :password_confirmation]
end
end