## 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/user.py
state = urllib.parse.quote(json.dumps(params))
    if use_new_toolbar:
        return redirect("{}#__posthog={}".format(app_url, state))
    else:
        return redirect("{}#state={}".format(app_url, state))
@require_http_methods(["PATCH"])
def change_password(request):
    """Change the password of a regular User."""
    if not request.user.is_authenticated:
        return JsonResponse({}, status=401)
    try:
        body = json.loads(request.body)
    except (TypeError, json.decoder.JSONDecodeError):
        return JsonResponse({"error": "Cannot parse request body"}, status=400)
    old_password = body.get("oldPassword")
    new_password = body.get("newPassword")
    if not old_password or not new_password:
        return JsonResponse({"error": "Missing payload"}, status=400)
    if not request.user.check_password(old_password):
        return JsonResponse({"error": "Incorrect old password"}, status=400)
    try:
        validate_password(new_password, request.user)
    except ValidationError as err:
        return JsonResponse({"error": err.messages[0]}, status=400)
    request.user.set_password(new_password)
    request.user.save()
    update_session_auth_hash(request, request.user)
    return JsonResponse({})
@require_http_methods(["POST"])
def test_slack_webhook(request):