dev_local
daiao 6 years ago
parent 5ad20bae0e
commit f44bdc5435

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

Loading…
Cancel
Save