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