##// END OF EJS Templates
Log failed user logins to the Rails logger...
Eric Davis -
r3297:d2baf5f2a7b0
parent child
Show More
@@ -210,6 +210,7 class AccountController < ApplicationController
210 210 end
211 211
212 212 def invalid_credentials
213 logger.warn "Failed login for '#{params[:username]}' from #{request.remote_ip} at #{Time.now.utc}"
213 214 flash.now[:error] = l(:notice_account_invalid_creditentials)
214 215 end
215 216
General Comments 0
You need to be logged in to leave comments. Login now