去除调试用户

dev_aliyun
daiao 5 years ago
parent db7be9a897
commit e72476949b

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

Loading…
Cancel
Save