From 92ab3db4c469d6ea297caaab5ba2851e0807ba51 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 16 Aug 2017 14:06:23 -0400 Subject: [PATCH] can only update org info when not self hosted --- src/Api/Controllers/OrganizationsController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Api/Controllers/OrganizationsController.cs b/src/Api/Controllers/OrganizationsController.cs index 6d7991a998..b46819e8de 100644 --- a/src/Api/Controllers/OrganizationsController.cs +++ b/src/Api/Controllers/OrganizationsController.cs @@ -159,6 +159,7 @@ namespace Bit.Api.Controllers [HttpPut("{id}")] [HttpPost("{id}")] + [SelfHosted(NotSelfHostedOnly = true)] public async Task Put(string id, [FromBody]OrganizationUpdateRequestModel model) { var orgIdGuid = new Guid(id);