CLI
Reset an existing account's password when an authorized administrator needs to restore access. Verify the account identity and tenant before applying the change.
yarn mercato auth set-password updates the stored bcrypt hash for the specified user.
yarn mercato auth set-password --email "<user@email>" --password "<newPassword>"
bcryptjs (cost 10).✅ Password updated successfully for user: [email protected].mercato auth list-users.OM_PASSWORD_MIN_LENGTH, OM_PASSWORD_REQUIRE_DIGIT, OM_PASSWORD_REQUIRE_UPPERCASE, and OM_PASSWORD_REQUIRE_SPECIAL if you need different rules.Previous: mercato auth seed-roles · Next: mercato auth setup