UX: display signup cta even if 'must_approve_users' setting enabled.

This commit is contained in:
Vinoth Kannan 2019-04-08 12:27:56 +05:30
parent d53cc07de1
commit ca57e18f42

View File

@ -22,7 +22,6 @@ export default {
if (keyValueStore.get("anon-cta-never")) return; // "never show again" if (keyValueStore.get("anon-cta-never")) return; // "never show again"
if (!siteSettings.allow_new_registrations) return; if (!siteSettings.allow_new_registrations) return;
if (siteSettings.invite_only) return; if (siteSettings.invite_only) return;
if (siteSettings.must_approve_users) return;
if (siteSettings.login_required) return; if (siteSettings.login_required) return;
if (!siteSettings.enable_signup_cta) return; if (!siteSettings.enable_signup_cta) return;