Merge pull request #2724 from drshawnkwang/drupal_feature-webreg-emailvalidate

Drupal: new accounts require email validation.
This commit is contained in:
tristanolive 2018-10-03 11:56:30 -04:00 committed by GitHub
commit 22e65c4ce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -1988,7 +1988,7 @@ function boinc_standard_strongarm() {
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'user_email_verification';
$strongarm->value = 0;
$strongarm->value = 1;
$export['user_email_verification'] = $strongarm;
$strongarm = new stdClass;
@ -2049,7 +2049,13 @@ After logging in, you will be redirected to !edit_uri so you can change your pas
$strongarm->name = 'user_mail_register_no_approval_required_body';
$strongarm->value = 'Hello,
Thank you for registering at !site. You may now log in to !login_uri using your email address and your passphrase.
Thank you for registering at !site. You may now log in to !uri_brief by clicking on this link or copying and pasting it in your browser:
!login_url
This is a one-time login, so it can be used only once. It expires after one day and nothing will happen if it\'s not used.
After logging in, you will be redirected to !edit_uri, where you can choose your password.
-- !site team';
$export['user_mail_register_no_approval_required_body'] = $strongarm;
@ -2209,7 +2215,7 @@ Your account on !site has been deleted.
$strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
$strongarm->api_version = 1;
$strongarm->name = 'user_register';
$strongarm->value = '0';
$strongarm->value = '1';
$export['user_register'] = $strongarm;
$strongarm = new stdClass;