Permalink
Browse files

Merge pull request #18 from Rackster/master

fail2ban compatible auth warning
  • Loading branch information...
2 parents 52ef494 + 6fbeb5b commit 1b97196db2542cb523db01722fa7ffb6e77a2a94 @sibprogrammer committed Aug 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/sessions_controller.rb
@@ -38,7 +38,7 @@ def new
end
end
- logger.warn "Failed login for '#{params[:login]}' from #{request.remote_ip} at #{Time.now.utc}"
+ logger.warn "Failed login for '#{params[:login]}' from #{request.remote_ip} at #{Time.now.strftime('%Y-%m-%d %H:%M:%S')}"
respond_to do |format|
format.html { render :json => { :success => false, :message => message } }
format.iphone { flash.now[:error] = message }

0 comments on commit 1b97196

Please sign in to comment.