diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 7a32ffda..29362dbe 100755 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -340,6 +340,7 @@ class ApplicationController < ActionController::Base def require_login logger.info("########IP: #{request.remote_ip}") + logger.info("########IP: #{request.env['HTTP_X_REAL_IP']}") if !User.current.logged? # Extract only the basic url parameters on non-GET requests if request.get?