Describe the issue
When seeing the database with admin credentials via ADMIN_PASSWORD, the seed job succeeds with any password value. If this doesn't meet the "at least 8 characters in length, contain an upper and lowercase letter, and contain at least one number" requirement, then users cannot log in.
Fixing this requires deleting the database and re-seeding, because the seed job will not update an existing admin user.
Environment
- SDK: N/A
- Engine: self-hosted v0.83.48
Expected behavior
The seed job should reject the password.
Ideally there would be a flag to force the seed job to update the admin user password as well, to aid in recovery.
Code to Reproduce, Logs, or Screenshots
Seed a new password with the env var ADMIN_PASSWORD=mypass and try to log in.
Additional context
N/A
Describe the issue
When seeing the database with admin credentials via
ADMIN_PASSWORD, the seed job succeeds with any password value. If this doesn't meet the "at least 8 characters in length, contain an upper and lowercase letter, and contain at least one number" requirement, then users cannot log in.Fixing this requires deleting the database and re-seeding, because the seed job will not update an existing admin user.
Environment
Expected behavior
The seed job should reject the password.
Ideally there would be a flag to force the seed job to update the admin user password as well, to aid in recovery.
Code to Reproduce, Logs, or Screenshots
Seed a new password with the env var
ADMIN_PASSWORD=mypassand try to log in.Additional context
N/A