|
|
|
@ -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?
|
|
|
|
|