Disable email invites

Hello,

I am looking for a way to disable a possibility to invite people to organization via email. I’ve already tried to modify sentry.conf.py removing organizations:invite-members feature from the list and even explicitly setting it to False but it didn’t help. Here’s what I have currently:

############
# Features #
############

SENTRY_FEATURES["projects:sample-events"] = False
SENTRY_FEATURES.update(
    {
        feature: True
        for feature in (
            "organizations:discover",
            "organizations:events",
            "organizations:global-views",
            "organizations:incidents",
            "organizations:integrations-issue-basic",
            "organizations:integrations-issue-sync",
            "organizations:metric-alert-builder-aggregate",
            "organizations:sso-basic",
            "organizations:sso-rippling",
            "organizations:sso-saml2",
            "organizations:performance-view",
            "organizations:advanced-search",
            "projects:custom-inbound-filters",
            "projects:data-forwarding",
            "projects:discard-groups",
            "projects:plugins",
            "projects:rate-limits",
            "projects:servicehooks",
        )
    }
)
SENTRY_FEATURES["organizations:invite-members"] = False

Am I doing it the wrong way or the feature is no longer supported in recent Sentry on-premise versions (I am running 20.2)?