feat(TotpSmsParams): Erstellt, um die Konfiguration von Totp zu handhaben
This commit is contained in:
@@ -16,6 +16,7 @@ using DigitalData.EmailProfilerDispatcher;
|
||||
using EnvelopeGenerator.Infrastructure;
|
||||
using EnvelopeGenerator.Web.Sanitizers;
|
||||
using EnvelopeGenerator.Application.Extensions;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
var logger = LogManager.Setup().LoadConfigurationFromAppSettings().GetCurrentClassLogger();
|
||||
logger.Info("Logging initialized!");
|
||||
@@ -49,6 +50,8 @@ try
|
||||
// Add higher order services
|
||||
builder.Services.AddScoped<EnvelopeOldService>();
|
||||
|
||||
builder.Services.Configure<TotpSmsParams>(config.GetSection("TotpSmsParams"));
|
||||
|
||||
// Add controllers and razor views
|
||||
builder.Services.AddControllersWithViews(options =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user