|
|
@ -106,6 +106,7 @@ module Mobile
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|
|
|
|
Rails.logger.info("########### host is #{request.host}")
|
|
|
|
Rails.logger.info("########### host is #{request.host}")
|
|
|
|
|
|
|
|
Rails.logger.info("########### ip is #{request.remote_ip}")
|
|
|
|
if (Rails.env.development? && session[:user_id].blank?) || (session[:user_id].blank? && request.host.include?("testbdweb")) || params[:action] == "privateGit"
|
|
|
|
if (Rails.env.development? && session[:user_id].blank?) || (session[:user_id].blank? && request.host.include?("testbdweb")) || params[:action] == "privateGit"
|
|
|
|
session[:user_id] = 12 #116
|
|
|
|
session[:user_id] = 12 #116
|
|
|
|
end
|
|
|
|
end
|
|
|
|