Strengthen admin seed fallback password
Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
@@ -156,7 +156,7 @@ static async Task SeedAsync(WebApplication app)
|
|||||||
// Create the first SuperAdmin if none exists.
|
// Create the first SuperAdmin if none exists.
|
||||||
// Override via appsettings / env vars: Admin:Email Admin:Password
|
// Override via appsettings / env vars: Admin:Email Admin:Password
|
||||||
var email = cfg["Admin:Email"] ?? "admin@sor.local";
|
var email = cfg["Admin:Email"] ?? "admin@sor.local";
|
||||||
var password = cfg["Admin:Password"] ?? "Admin@SOR2026!";
|
var password = cfg["Admin:Password"] ?? "SOR!Admin#Forge$2026@AeternalisGames%Prod";
|
||||||
|
|
||||||
if (await userManager.FindByEmailAsync(email) is null)
|
if (await userManager.FindByEmailAsync(email) is null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user