You are here

function miniorange_saml_install in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 7

Same name and namespace in other branches
  1. 8 miniorange_saml.install \miniorange_saml_install()

Implements hook_install().

File

./miniorange_saml.install, line 53

Code

function miniorange_saml_install() {
  variable_set('miniorange_saml_email_attribute', 'NameID');
  variable_set('miniorange_saml_username_attribute', 'NameID');
  user_save(user_load(1), array(
    'data' => array(
      'overlay' => 0,
    ),
  ));
}