Selector/Selector.Web/Areas/Identity/IdentityHostingStartup.cs

22 lines
751 B
C#
Raw Normal View History

2021-10-24 00:23:45 +01:00
using System;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Selector.Model;
[assembly: HostingStartup(typeof(Selector.Web.Areas.Identity.IdentityHostingStartup))]
namespace Selector.Web.Areas.Identity
{
public class IdentityHostingStartup : IHostingStartup
{
public void Configure(IWebHostBuilder builder)
{
builder.ConfigureServices((context, services) => {
//services.AddDefaultIdentity<ApplicationUser>(options => options.SignIn.RequireConfirmedAccount = true);
2021-10-24 00:23:45 +01:00
});
}
}
}