I just noticed that when users register or login to my website (I use
restful_auth), their password gets printed out in the production.log
file. How can I prevent that? I consider this a major security issue.
SSL is used to prevent eavesdropping and passwords are stored encrypted
in DB by the way, but I never thought about log files.
in application.rb, insert: filter_parameter_logging "password"
Thank you all for your replies. This should be included by default (or
at least commented out?) in restful_auth generator and any other
authentication plugin.