dev_local
daiao 6 years ago
parent b24bd52ffb
commit 557e2965a5

@ -340,7 +340,7 @@ class ApplicationController < ActionController::Base
def require_login
logger.info("########IP: #{request.remote_ip}")
logger.info("########IP: #{request.env['HTTP_X_REAL_IP']}")
logger.info("########IP: #{request.env['HTTP_X_FORWARDED_FOR']}")
if !User.current.logged?
# Extract only the basic url parameters on non-GET requests
if request.get?

Loading…
Cancel
Save