You are here

function ldap_sso_update_8004 in LDAP Single Sign On 8.4

Same name and namespace in other branches
  1. 8 ldap_sso.install \ldap_sso_update_8004()

Sets login confirmation message variable.

File

./ldap_sso.install, line 59

Code

function ldap_sso_update_8004() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('ldap_sso.settings');
  $config
    ->set('enableLoginConfirmationMessage', TRUE);
  $config
    ->save(TRUE);
}