## 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
response = self.client.patch(
            "/api/user/",
            data={"team": {"opt_out_capture": True, "anonymize_ips": False}},
            content_type="application/json",
        ).json()
        self.assertEqual(response["team"]["opt_out_capture"], True)
        self.assertEqual(response["team"]["anonymize_ips"], False)
        team = Team.objects.get(id=self.team.id)
        self.assertEqual(team.opt_out_capture, True)
        self.assertEqual(team.anonymize_ips, False)
class TestUserChangePassword(BaseTest):
    TESTS_API = True
    ENDPOINT: str = "/api/user/change_password/"
    def send_request(self, payload):
        return self.client.patch(self.ENDPOINT, payload, content_type="application/json")
    def test_change_password_no_data(self):
        response = self.send_request({})
        self.assertEqual(response.status_code, 400)
    def test_change_password_invalid_old_password(self):
        response = self.send_request({"oldPassword": "12345", "newPassword": "12345"})
        self.assertEqual(response.status_code, 400)
        self.assertEqual(response.json()["error"], "Incorrect old password")
    def test_change_password_invalid_new_password(self):
        response = self.send_request({"oldPassword": self.TESTS_PASSWORD, "newPassword": "123451230"})
        self.assertEqual(response.status_code, 400)
        self.assertEqual(response.json()["error"], "This password is entirely numeric.")
    def test_change_password_success(self):
        response = self.send_request({"oldPassword": self.TESTS_PASSWORD, "newPassword": "prettyhardpassword123456",})
        self.assertEqual(response.status_code, 200)
class TestUserSlackWebhook(BaseTest):