You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is the default password seeding
if (userManager.Users.All(u => u.UserName != administrator.UserName))
{
await userManager.CreateAsync(administrator, "Password123!");
await userManager.AddToRolesAsync(administrator, new[] { administratorRole.Name });
await userManager.CreateAsync(demo, "Password123!");
await userManager.AddToRolesAsync(demo, new[] { userRole.Name });
}.
I found Invalid column name 'IsLive' Exception. How can fix the issue?
The text was updated successfully, but these errors were encountered:
LokenLaishram
changed the title
Code Bug
Default password seeding not working properly
May 7, 2024
this is the default password seeding
if (userManager.Users.All(u => u.UserName != administrator.UserName))
{
await userManager.CreateAsync(administrator, "Password123!");
await userManager.AddToRolesAsync(administrator, new[] { administratorRole.Name });
await userManager.CreateAsync(demo, "Password123!");
await userManager.AddToRolesAsync(demo, new[] { userRole.Name });
}.
I found Invalid column name 'IsLive' Exception. How can fix the issue?
The text was updated successfully, but these errors were encountered: