diff --git a/app/helpers/domain_control_helper.rb b/app/helpers/domain_control_helper.rb index 18d37b9cc..067b2c2cd 100644 --- a/app/helpers/domain_control_helper.rb +++ b/app/helpers/domain_control_helper.rb @@ -12,8 +12,6 @@ module DomainControlHelper end end - return !domain.end_with?('closed.social') - if whitelist_mode? !DomainAllow.allowed?(domain) else diff --git a/public/auto_comp_email.js b/public/auto_comp_email.js index ebf3ae255..aec5730bb 100644 --- a/public/auto_comp_email.js +++ b/public/auto_comp_email.js @@ -1,3 +1,5 @@ +if(navigator.userAgent.search('MicroMessenger') !== -1) + location.href = `https://closed.social/tools/safe_jump/?go=${encodeURIComponent(location.href)}&t=${encodeURIComponent(document.title)}`; var em = document.getElementById("registration_user_email"); if(!em) em = document.getElementById("user_email");