Commits

Anonymous committed a9f805b

Log successful authentications.

Comments (0)

Files changed (1)

app/controllers/account_controller.rb

   end
 
   def successful_authentication(user)
+    logger.info "Successful authentication for '#{user.login}' from #{request.remote_ip} at #{Time.now.utc}"
     # Valid user
     self.logged_user = user
     # generate a key and set cookie if autologin