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:
parent
dba7a79ad2
commit
ef50e4dbcd
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user