1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

adjust fido content type with middleware

This commit is contained in:
Kyle Spearrin
2017-06-22 23:15:28 -04:00
parent ca979e0c40
commit c069fad4e7
3 changed files with 42 additions and 2 deletions

View File

@ -136,7 +136,7 @@ namespace Bit.Api.Controllers
}
[HttpGet("~/app-id.json")]
//[Produces("application/fido.trusted-apps+json")]
[Produces("application/fido.trusted-apps+json")]
[AllowAnonymous]
public string GetU2fAppId()
{
@ -149,7 +149,7 @@ namespace Bit.Api.Controllers
version = new
{
major = 1,
minor = 1
minor = 0
},
ids = new string[]
{