mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
push apis are only for not self hosted instances
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user