07403cbd9d
Aegis CI / lint-and-test (push) Has been cancelled
Snyk Security Scan / Python vulnerabilities (backend) (push) Has been cancelled
Snyk Security Scan / npm vulnerabilities (frontend) (push) Has been cancelled
Snyk Security Scan / Docker image vulnerabilities (backend) (push) Has been cancelled
seed_admin()'s existence check matched on a freshly-computed email/username identifier — after the email-unique-identifier migration backfills an older install's admin email to its bare username (e.g. 'administrator'), that no longer matches the '...@localhost' placeholder computed when ADMIN_EMAIL isn't set, so every container restart created a new duplicate admin. Now skips seeding whenever ANY admin role already exists.