UseIdentityWithSeed does not add the user sysadmin.
HusseinKhodadadi opened this issue · comments
I think I understand where the problem is. The default password created for the admin user is "password". When executing the method:
var createResult = await _userManager.CreateAsync(user, "password");
the creation of the new user is rejected by SQL Server due to the simplicity of the password.
Hi there! Yes the plan is to replace this with an extension method that prompts the user with a view the first time it’s started where you setup your own username/password. The existing method is basically there to get the templates up and running without having to do any code modifications.