mirror of
https://github.com/bitwarden/server
synced 2026-01-10 12:33:49 +00:00
Refactor WebAuthn IoC container (#1302)
* Refactor WebAuthn IoC container * Move to AddDefaultServices
This commit is contained in:
@@ -119,15 +119,6 @@ namespace Bit.Api
|
||||
services.AddDefaultServices(globalSettings);
|
||||
services.AddCoreLocalizationServices();
|
||||
|
||||
// Fido2
|
||||
services.AddFido2(options =>
|
||||
{
|
||||
options.ServerDomain = new Uri(globalSettings.BaseServiceUri.Vault).Host;
|
||||
options.ServerName = "Bitwarden";
|
||||
options.Origin = globalSettings.BaseServiceUri.Vault;
|
||||
options.TimestampDriftTolerance = 300000;
|
||||
});
|
||||
|
||||
// MVC
|
||||
services.AddMvc(config =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user