You are here

function user_registrationpassword_update_8201 in User registration password 8

Set new notify to enable.

File

./user_registrationpassword.install, line 90
Install file.

Code

function user_registrationpassword_update_8201() {
  $config = \Drupal::configFactory()
    ->getEditable('user_registrationpassword.settings');
  $config
    ->set('notify.register_confirmation_with_pass', 1)
    ->save();
}