added test to make sure password is not leaked in user json/xml feed
This commit is contained in:
@@ -17,7 +17,8 @@ module Danbooru
|
||||
options[:except] += hidden_attributes
|
||||
super(options, &block)
|
||||
end
|
||||
|
||||
|
||||
protected
|
||||
def hidden_attributes
|
||||
[:uploader_ip_addr, :updater_ip_addr, :creator_ip_addr, :ip_addr]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user