replaced user_registrationpassword by user_email_verification

This commit is contained in:
Bachir Soussi Chiadmi 2021-03-09 21:26:35 +01:00
parent b992c1c667
commit 637b1d9bf0
12 changed files with 136 additions and 52 deletions

View File

@ -86,7 +86,7 @@
"drupal/ultimate_cron": "^2.x-dev",
"drupal/unique_content_field_validation": "^1.0",
"drupal/url_to_video_filter": "^2.0",
"drupal/user_registrationpassword": "^1.0@alpha",
"drupal/user_email_verification": "1.x-dev@dev",
"drupal/views_conditional": "^1.x-dev",
"drupal/views_ef_fieldset": "^1.5",
"drush/drush": "^9",

46
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "6551b226eaa1ce5d151810ee7996bf9d",
"content-hash": "d1b8403c7c149b7c30ff036ccfe1fbe3",
"packages": [
{
"name": "alchemy/zippy",
@ -12081,30 +12081,27 @@
}
},
{
"name": "drupal/user_registrationpassword",
"version": "1.0.0-alpha5",
"name": "drupal/user_email_verification",
"version": "dev-1.x",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/user_registrationpassword.git",
"reference": "8.x-1.0-alpha5"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/user_registrationpassword-8.x-1.0-alpha5.zip",
"reference": "8.x-1.0-alpha5",
"shasum": "2443b1e7d1c080863c907da569187add5b0c0814"
"url": "https://git.drupalcode.org/project/user_email_verification.git",
"reference": "b19d5dc36171d6a2a9fc5fd24a5c11d89bfab5e3"
},
"require": {
"drupal/core": "^8.8 || ^9"
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"branch-alias": {
"dev-1.x": "1.x-dev"
},
"drupal": {
"version": "8.x-1.0-alpha5",
"datestamp": "1592713735",
"version": "8.x-1.x-dev",
"datestamp": "1592398788",
"security-coverage": {
"status": "not-covered",
"message": "Alpha releases are not covered by Drupal security advisories."
"message": "Dev releases are not covered by Drupal security advisories."
}
}
},
@ -12114,19 +12111,20 @@
],
"authors": [
{
"name": "Rob C",
"homepage": "https://www.drupal.org/user/313382"
"name": "Antonnavi",
"homepage": "https://www.drupal.org/user/875410"
},
{
"name": "jide",
"homepage": "https://www.drupal.org/user/146088"
"name": "skek",
"homepage": "https://www.drupal.org/user/417078"
}
],
"description": "Let users register with a password on the registration form when verification mail is required.",
"homepage": "https://www.drupal.org/project/user_registrationpassword",
"description": "Verify the user Email. If the Email of the user is not verified the system will block the user.",
"homepage": "https://www.drupal.org/project/user_email_verification",
"support": {
"source": "https://git.drupalcode.org/project/user_registrationpassword"
}
"source": "https://git.drupalcode.org/project/user_email_verification"
},
"time": "2021-01-21T14:25:15+00:00"
},
{
"name": "drupal/video_embed_field",
@ -19361,7 +19359,7 @@
"drupal/translate_side_by_side": 20,
"drupal/translation_views": 20,
"drupal/ultimate_cron": 20,
"drupal/user_registrationpassword": 15,
"drupal/user_email_verification": 20,
"drupal/views_conditional": 20,
"drupal/advanced_text_formatter": 10,
"drupal/autocomplete_deluxe": 5,

View File

@ -187,7 +187,7 @@ module:
update: 0
url_to_video_filter: 0
user: 0
user_registrationpassword: 0
user_email_verification: 0
video_embed_field: 0
video_embed_wysiwyg: 0
views_bulk_edit: 0

View File

@ -1,2 +0,0 @@
register_confirmation_with_pass:
subject: 'Détails du compte [user:display-name] sur [site:name]'

View File

@ -0,0 +1,17 @@
uuid: 08eadfe9-dd95-48db-bf97-7219b2f90604
langcode: en
status: true
dependencies:
module:
- user_email_verification
title: 'Default cron handler'
id: user_email_verification_cron
weight: 0
module: user_email_verification
callback: user_email_verification_cron
scheduler:
id: simple
launcher:
id: serial
logger:
id: database

View File

@ -17,8 +17,8 @@ register_pending_approval_admin:
body: "[user:display-name] has applied for an account.\r\n\r\n[user:edit-url]"
subject: 'Account details for [user:display-name] at [site:name] (pending admin approval)'
status_activated:
body: "[user:display-name],\r\n\r\nYour account at [site:name] has been activated.\r\n\r\nYou will be able to log in to [site:login-url] in the future using:\r\n\r\nusername: [user:name]\r\npassword: your password.\r\n\r\n-- [site:name] team"
subject: 'Account details for [user:display-name] at [site:name]'
body: "[user:display-name],\r\n\r\nYour account at [site:name] has been activated.\r\n\r\nYou may now verify your email by clicking this link or copying and pasting it into your browser:\r\n\r\n[user:verify-email]\r\n\r\n-- TO REMOVE --\r\n\r\nYou may now log in by clicking this link or copying and pasting it into your browser:\r\n\r\n[user:one-time-login-url]\r\n\r\nThis link can only be used once to log in and will lead you to a page where you can set your password.\r\n\r\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\r\n\r\nusername: [user:account-name]\r\npassword: Your password\r\n\r\n-- [site:name] team"
subject: 'Account details for [user:display-name] at [site:name] (approved)'
status_blocked:
body: "[user:display-name],\r\n\r\nYour account on [site:name] has been blocked.\r\n\r\n-- [site:name] team"
subject: 'Account details for [user:display-name] at [site:name] (blocked)'

View File

@ -7,8 +7,8 @@ notify:
status_blocked: false
status_canceled: false
register_admin_created: true
register_no_approval_required: false
register_pending_approval: false
register_no_approval_required: true
register_pending_approval: true
register: visitors
cancel_method: user_cancel_block
password_reset_timeout: 86400

View File

@ -0,0 +1,15 @@
skip_roles:
translator: translator
admin_showroom: admin_showroom
admin: admin
root: root
validate_interval: 240
num_reminders: 2
mail_subject: '[site:name]: Email verification'
mail_body: 'Verify your Email by following the link: [user:verify-email]'
extended_enable: true
extended_validate_interval: 1209600
extended_mail_subject: '[site:name]: Account blocked, please verify Email address'
extended_mail_body: 'Your account is blocked. Your Email may still be verified by following the link: [user:verify-email-extended]'
_core:
default_config_hash: jMF3rV51ujHssuZyYCHEBAat_VlUArx0IGmGOZzOV8Y

View File

@ -1,6 +0,0 @@
register_confirmation_with_pass:
body: "[user:display-name],\r\n\r\nThank you for registering at [site:name]. You may now log in and verify your account by clicking this link or copying and pasting it to your browser:\r\n\r\n[user:registrationpassword-url]\r\n\r\nThis link can only be used once. You will be able to log in at [site:login-url] in the future using:\r\n\r\nusername: [user:name]\r\npassword: your password\r\n\r\n-- [site:name] team"
subject: 'Détails du compte [user:display-name] sur [site:name]'
langcode: en
_core:
default_config_hash: sd6r3H04eOul_dps8oyinjacaZmLgG7BrRZ3bmYiyZU

View File

@ -1,6 +0,0 @@
status_activated:
subject: 'Account details for [user:display-name] at [site:name] (approved)'
body: "[user:display-name],\r\n\r\nYour account at [site:name] has been activated.\r\n\r\nYou may now log in by clicking this link or copying and pasting it into your browser:\r\n\r\n[user:one-time-login-url]\r\n\r\nThis link can only be used once to log in and will lead you to a page where you can set your password.\r\n\r\nAfter setting your password, you will be able to log in at [site:login-url] in the future using:\r\n\r\nusername: [user:account-name]\r\npassword: Your password\r\n\r\n-- [site:name] team"
langcode: en
_core:
default_config_hash: '-NFASedvrCq04dzkSi6iBCauY3BLjVOxfRNcOKN09kA'

View File

@ -1,7 +0,0 @@
registration: with-pass
registration_ftll_expire: false
registration_ftll_timeout: 86400
notify:
register_confirmation_with_pass: true
_core:
default_config_hash: 2fwxXOq3dbjiboKslfHTJXYWAk4u1zadK65SRiDrxug

File diff suppressed because one or more lines are too long