Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default password seeding not working properly #1175

Open
LokenLaishram opened this issue May 7, 2024 · 0 comments
Open

Default password seeding not working properly #1175

LokenLaishram opened this issue May 7, 2024 · 0 comments

Comments

@LokenLaishram
Copy link

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?

@LokenLaishram LokenLaishram changed the title Code Bug Default password seeding not working properly May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant