₾უკა
₾უკა
CC#
Created by ₾უკა on 5/30/2024 in #help
Identity problem
I have scaffolded Identity pages for user authorization and authentication and i have a problem. the Manage/Index.cshtml doesn't display the correct page, usually it shows the change password,change email etc. pages but it only shows the phone number input. This happens when I add IdentityRole to services for example like this : builder.Services.AddIdentity<User,IdentityRole>() .AddEntityFrameworkStores<ApplicationDbContext>() .AddDefaultTokenProviders(); but if I remove the IdentityRole from the services it works just fine.. i'm pretty new to .NET and i have no idea why this happens, any help is appreciated
2 replies