emonney / QuickApp

ASP.NET Core / Angular startup project template with complete login, user and role management. Plus other useful services for Quick Application Development
https://www.ebenmonney.com/quickapp
MIT License
1.26k stars 594 forks source link

How to register a user(create a new user) before login? #132

Closed gituseryt closed 1 year ago

Mynken commented 5 years ago

@gituseryt Go to QuickApp/DAL/DatabaseInitializer.cs then find method public async Task SeedAsync()

   await CreateUserAsync("user", "tempP@ss123", "Inbuilt Standard User", "user@ebenmonney.com", "+1 (123) 000-0001", new string[] { userRoleName });

And here is code to create new account;