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) => {
|
2021-10-24 20:15:09 +01:00
|
|
|
//services.AddDefaultIdentity<ApplicationUser>(options => options.SignIn.RequireConfirmedAccount = true);
|
2021-10-24 00:23:45 +01:00
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|