Provides a Deployment hook that sets configured users' password to NULL.
Run drush helfi:post-deploy
to trigger this.
See helfi_api_base.disable_password_users
parameter in helfi_api_base.services.yml for default value.
Users are loaded by uid
, mail
and name
field.
The value can be overridden in one of these files:
# public/sites/default/services.yml
# public/sites/default/{env}.services.yml
parameters:
helfi_api_base.disable_password_users:
- [email protected]
- 1
- 'some-user-name'
or dynamically in service provider class: https://www.drupal.org/docs/drupal-apis/services-and-dependency-injection/altering-existing-services-providing-dynamic-services.
You can disable this feature by changing the disable_user_password
setting to false:
# conf/cmi/helfi_api_base.features.yml
disable_user_password: false