mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 21:18:13 -05:00
add custom dp services to more projects (#2653)
This commit is contained in:
parent
814ca7b30b
commit
8ba806667c
@ -33,6 +33,9 @@ public class Startup
|
|||||||
StripeConfiguration.ApiKey = globalSettings.Stripe.ApiKey;
|
StripeConfiguration.ApiKey = globalSettings.Stripe.ApiKey;
|
||||||
StripeConfiguration.MaxNetworkRetries = globalSettings.Stripe.MaxNetworkRetries;
|
StripeConfiguration.MaxNetworkRetries = globalSettings.Stripe.MaxNetworkRetries;
|
||||||
|
|
||||||
|
// Data Protection
|
||||||
|
services.AddCustomDataProtectionServices(Environment, globalSettings);
|
||||||
|
|
||||||
// Repositories
|
// Repositories
|
||||||
services.AddDatabaseRepositories(globalSettings);
|
services.AddDatabaseRepositories(globalSettings);
|
||||||
|
|
||||||
|
@ -29,6 +29,9 @@ public class Startup
|
|||||||
// Settings
|
// Settings
|
||||||
var globalSettings = services.AddGlobalSettingsServices(Configuration, Environment);
|
var globalSettings = services.AddGlobalSettingsServices(Configuration, Environment);
|
||||||
|
|
||||||
|
// Data Protection
|
||||||
|
services.AddCustomDataProtectionServices(Environment, globalSettings);
|
||||||
|
|
||||||
// Repositories
|
// Repositories
|
||||||
services.AddDatabaseRepositories(globalSettings);
|
services.AddDatabaseRepositories(globalSettings);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user