22 lines
751 B
C#
22 lines
751 B
C#
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);
|
|
});
|
|
}
|
|
}
|
|
} |