fix(seed): update dev admin password to meet Identity RequiredLength=12
The seed password 'Admin123!' (9 chars) was silently rejected by UserManager.CreateAsync because Identity Password.RequiredLength=12. Updated to 'Admin123!Pass' (13 chars) and synchronized in readme.md and Api.http.
This commit is contained in:
1 parent
1e05069a66
commit
88d7cd79f8
3 files changed
+3
-3
No files matched your search
@@ -164,7 +164,7 @@ using (var scope = app.Services.CreateScope())
|
||||
Email = "admin@heimdall.test",
|
||||
DisplayName = "Admin"
|
||||
};
|
||||
await userManager.CreateAsync(testAdmin, "Admin123!");
|
||||
await userManager.CreateAsync(testAdmin, "Admin123!Pass");
|
||||
await userManager.AddToRoleAsync(testAdmin, AppRoles.Admin);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user