1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

clean out deprecated services. update libs.

This commit is contained in:
Kyle Spearrin
2017-10-26 21:07:12 -04:00
parent 81d2e3e608
commit 434723e637
15 changed files with 3 additions and 563 deletions

View File

@ -56,15 +56,7 @@ namespace Bit.Core.Utilities
public static void AddDefaultServices(this IServiceCollection services, GlobalSettings globalSettings)
{
if(globalSettings.SelfHosted)
{
services.AddSingleton<IMailService, MarkdownMailService>();
}
else
{
services.AddSingleton<IMailService, RazorMailService>();
}
services.AddSingleton<IMailService, RazorMailService>();
services.AddSingleton<ILicensingService, LicensingService>();
if(CoreHelpers.SettingHasValue(globalSettings.Mail.SendGridApiKey))