Refactored AgeGroup namespace and services, added RegistrationKey functionality.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using API.Database;
|
||||
using API.Models.Internal.User;
|
||||
using API.Repository.AgeGroup;
|
||||
using API.Repository.AgeGroupRepo;
|
||||
using API.Services;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.AspNetCore.Identity.UI.Services;
|
||||
@@ -27,7 +27,7 @@ builder.Services.AddIdentityCore<User>(options =>
|
||||
{
|
||||
options.SignIn.RequireConfirmedAccount = true;
|
||||
options.User.RequireUniqueEmail = true;
|
||||
}).AddEntityFrameworkStores<ApplicationDbContext>().AddDefaultTokenProviders();
|
||||
}).AddEntityFrameworkStores<ApplicationDbContext>().AddRoles<IdentityRole>().AddDefaultTokenProviders();
|
||||
|
||||
|
||||
// Database
|
||||
|
||||
Reference in New Issue
Block a user