1
0
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:
Kyle Spearrin 2017-08-15 16:20:46 -04:00
parent dd288a7071
commit 5576028c7a

View File

@ -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;