## Is your feature request related to a problem?

I want to be able to disable the sharing link for extra security

## Describe the solution you'd like

A toggle to disable the sharing link in the sharing modal

## Describe alternatives you've considered

-

## Additional context



#### *Thank you* for your feature request – we love each and every one!

posthog/api/test/test_user.py
from posthog.models import Team, User
from .base import BaseTest
class TestUser(BaseTest):
    TESTS_API = True
    def test_redirect_to_site(self):
        self.team.app_urls = ["http://somewebsite.com"]
        self.team.save()
        response = self.client.get("/api/user/redirect_to_site/?actionId=1")
        self.assertIn("http://somewebsite.com", response.url)
    def test_create_user_when_restricted(self):
        with self.settings(RESTRICT_SIGNUPS="posthog.com,uk.posthog.com"):
            with self.assertRaisesMessage(ValueError, "Can't sign up with this email"):
                User.objects.create_user(email="tim@gmail.com")
            user = User.objects.create_user(email="tim@uk.posthog.com")
            self.assertEqual(user.email, "tim@uk.posthog.com")
    def test_create_user_with_distinct_id(self):
        with self.settings(TEST=False):
            user = User.objects.create_user(email="tim@gmail.com")
        self.assertNotEqual(user.distinct_id, "")
        self.assertNotEqual(user.distinct_id, None)
    def test_user_team_update(self):