1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-05 18:12:48 -05:00

[PM-2041] Finish adding FIDO2 Authentication (#3467)

This commit is contained in:
Andreas Coroiu
2023-11-22 19:24:19 +01:00
committed by GitHub
parent dba7a79ad2
commit ef50e4dbcd

View File

@ -81,9 +81,9 @@ public class AccountsController : Controller
return new PreloginResponseModel(kdfInformation);
}
[HttpPost("webauthn/assertion-options")]
[HttpGet("webauthn/assertion-options")]
[RequireFeature(FeatureFlagKeys.PasswordlessLogin)]
public WebAuthnLoginAssertionOptionsResponseModel PostWebAuthnLoginAssertionOptions()
public WebAuthnLoginAssertionOptionsResponseModel GetWebAuthnLoginAssertionOptions()
{
var options = _userService.StartWebAuthnLoginAssertion();