1
0
mirror of https://github.com/bitwarden/server synced 2025-12-12 22:33:45 +00: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

@@ -3,13 +3,14 @@ using Bit.Core.Context;
using Bit.Core.Exceptions;
using Bit.Core.SecretsManager.Commands.Trash.Interfaces;
using Bit.Core.SecretsManager.Repositories;
using Bit.Core.Utilities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Bit.Api.SecretsManager.Controllers;
[SecretsManager]
[Authorize("secrets")]
[SelfHosted(NotSelfHostedOnly = true)]
public class TrashController : Controller
{
private readonly ICurrentContext _currentContext;