diff --git a/src/Api/Controllers/MiscController.cs b/src/Api/Controllers/MiscController.cs index 8123b0734..eec7e87ab 100644 --- a/src/Api/Controllers/MiscController.cs +++ b/src/Api/Controllers/MiscController.cs @@ -1,6 +1,5 @@ using System; using Microsoft.AspNetCore.Mvc; -using System.Linq; using Bit.Core.Models.Api; namespace Bit.Api.Controllers @@ -14,12 +13,6 @@ namespace Bit.Api.Controllers return DateTime.UtcNow; } - [HttpGet("~/claims")] - public IActionResult Claims() - { - return new JsonResult(User?.Claims?.Select(c => new { c.Type, c.Value })); - } - [HttpGet("~/version")] public VersionResponseModel Version() {