1

I'm using this template: SPA Template And I want to understand how I can change layout of user registration and user login ?

Thanks and Regards, Danijel

Danijel Boksan
  • 779
  • 1
  • 13
  • 30

1 Answers1

0

Oh, It took me 2 days to find out how!

https://learn.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identity?view=aspnetcore-3.1&tabs=netcore-cli

In short - you need to run something like :

dotnet aspnet-codegenerator identity --useDefaultUI

That will generate all .cshtml files. From that you could unleash your html&css skills :)

Mcgri
  • 187
  • 1
  • 11
  • 1
    Actually for already exist project need to follow this https://learn.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identity?view=aspnetcore-3.1&tabs=visual-studio#scaffold-identity-into-a-razor-project-with-authorization Anyway your right for generation. – Danijel Boksan Jun 09 '20 at 08:51
  • 1
    The next challenge I trying to solve is keeping JWT token alive while user is using the session – Mcgri Jun 09 '20 at 18:02