1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();