Skip to content

Commit

Permalink
Issue #2059155 by szeidler: Why is user_register set on install?
Browse files Browse the repository at this point in the history
  • Loading branch information
szeidler authored and dakkusingh committed Dec 12, 2017
1 parent 0e77283 commit b6445a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simplesamlphp_auth.install
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ function simplesamlphp_auth_install() {
variable_set('user_register', 0);
variable_set('simplesamlphp_auth_user_register_original', $original);

// Inform the user about disabling the open registration.
drupal_set_message(t('The SimpleSAMLphp Authentication module disabled the user registration. You can manually enable it again in the <a href="@user_settings_url">Account settings</a>.', array('@user_settings_url' => url('admin/config/people/accounts'))), 'warning');
}

/**
Expand Down

0 comments on commit b6445a2

Please sign in to comment.