1
0
mirror of https://github.com/bitwarden/server synced 2026-01-05 18:13:31 +00:00

[PM-5800] Remove feature flag checks for PasswordlessLogin (#3713)

* Removed feature flag checks for PasswordlessLogin

* Removed unused reference.
This commit is contained in:
Todd Martin
2024-02-13 11:15:24 -05:00
committed by GitHub
parent 789e266791
commit 1a3146f776
3 changed files with 0 additions and 10 deletions

View File

@@ -65,12 +65,6 @@ public class WebAuthnGrantValidator : BaseRequestValidator<ExtensionGrantValidat
public async Task ValidateAsync(ExtensionGrantValidationContext context)
{
if (!FeatureService.IsEnabled(FeatureFlagKeys.PasswordlessLogin))
{
context.Result = new GrantValidationResult(TokenRequestErrors.InvalidGrant);
return;
}
var rawToken = context.Request.Raw.Get("token");
var rawDeviceResponse = context.Request.Raw.Get("deviceResponse");
if (string.IsNullOrWhiteSpace(rawToken) || string.IsNullOrWhiteSpace(rawDeviceResponse))