C
C#3y ago
Alizer

where does the default ASP Core with Identity put the registration and login form?

yeah what the title says, I just created a new asp code with identity project and I cant find the view (or .cshtml) for the registration and login form, it's not inside the Views folder and I checked every folder in the app i really cant find it anywhere, i need to modify it
2 Replies
Cisien
Cisien3y ago
By default, the form is internal to the library, you need to “scaffold” it to get the code extracted into your project so you can tweak it. https://docs.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identity?view=aspnetcore-6.0
Scaffold Identity in ASP.NET Core projects
Learn how to scaffold Identity in an ASP.NET Core project.
Alizer
AlizerOP3y ago
oh i see that fixes the problem
Want results from more Discord servers?
Add your server