- Issue created by @stefan.butura
- First commit to issue fork.
- Merge request !9Resolve #3442322 "Skip password validation when installing via CLI" → (Merged) created by nubeli
When installing a site with command line, using drush site:install --existing-config
, Drupal will generate a random password for the admin user. Currently, this password gets validated by adequate_passwords and an error can be thrown, breaking site installation.
1. Have a fresh Drupal installation with adequate_passwords module installed
2. Export the configuration
3. Reinstall the site using `drush site:install --existing-config`
4. Notice the error:
In install.core.inc line 969:
Please choose a stronger password. Recommendations to make your password stronger:<ul><li>Make it at least 12 characters</li><li>Add punctuation</li></ul>
Skip validation on the site install form when using CLI PHP.
Active
1.0
Code