1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 17:12:49 -05:00

Remove checking the EE_TESTING_ENV flag for SM (#2922)

This commit is contained in:
Thomas Avery
2023-05-17 09:42:08 -05:00
committed by GitHub
parent bcf096971b
commit db8e82ff03
8 changed files with 12 additions and 29 deletions

View File

@ -7,7 +7,6 @@ using Bit.Api.Models.Request.Accounts;
using Bit.Api.Models.Request.Organizations;
using Bit.Api.Models.Response;
using Bit.Api.Models.Response.Organizations;
using Bit.Api.SecretsManager;
using Bit.Core;
using Bit.Core.Auth.Enums;
using Bit.Core.Auth.Repositories;
@ -706,7 +705,6 @@ public class OrganizationsController : Controller
}
// This is a temporary endpoint to self-enroll in secrets manager
[SecretsManager]
[SelfHosted(NotSelfHostedOnly = true)]
[HttpPost("{id}/enroll-secrets-manager")]
public async Task EnrollSecretsManager(Guid id, [FromBody] OrganizationEnrollSecretsManagerRequestModel model)