diff --git a/app/controllers/concerns/login_helper.rb b/app/controllers/concerns/login_helper.rb index f9e0255d2..0126eb6b0 100644 --- a/app/controllers/concerns/login_helper.rb +++ b/app/controllers/concerns/login_helper.rb @@ -65,6 +65,7 @@ module LoginHelper re_subdomain = "#{request.subdomain.split('.').first}_user_id" session[:"#{re_subdomain}"] = nil + session[:user_id] = nil # session[:"#{re_subdomain}"] = user.id Rails.logger.info("domain_user_id session is: 3333332222111#{session[:"#{re_subdomain}"]}") Rails.logger.info("user_id session is: 3333332222111#{session[:user_id]}")