mirror of
https://github.com/bitwarden/server.git
synced 2025-05-22 12:04:27 -05:00
push apis are only for not self hosted instances
This commit is contained in:
parent
dd288a7071
commit
5576028c7a
@ -7,11 +7,13 @@ using Bit.Core.Models.Api;
|
||||
using System.Threading.Tasks;
|
||||
using System.Linq;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Bit.Api.Utilities;
|
||||
|
||||
namespace Bit.Api.Controllers
|
||||
{
|
||||
[Route("push")]
|
||||
[Authorize("Push")]
|
||||
[SelfHosted(NotSelfHostedOnly = true)]
|
||||
public class PushController : Controller
|
||||
{
|
||||
private readonly IPushRegistrationService _pushRegistrationService;
|
||||
|
Loading…
x
Reference in New Issue
Block a user