- Issue created by @DrDam
- 🇮🇳India lavanyatalwar
Hi @drdam,
Raised the MR for the patch provided.
Kindly review :)
I want to install a site with drush site-install from a exported configuration.
doing that, a fatal error stop the process when admin user is created : SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'pass' cannot be null
- install drupal with minimal profile
- add password_policy_module and activate it
- export configuration
- try to reinstall with "drush site-install --existing-config"
in store method, we can detect this specific case by a test in the PasswordPolicy::store method.
If the user->id() is 1 and don't have a password => this case only exist when installation, do nothing
Active
1.0
Code
Hi @drdam,
Raised the MR for the patch provided.
Kindly review :)