added genpass module

This commit is contained in:
Bachir Soussi Chiadmi 2022-10-03 13:18:20 +02:00
parent 787494bfc8
commit 9d16eaade2
8 changed files with 82 additions and 17 deletions

View File

@ -20,6 +20,7 @@
"drupal/core-composer-scaffold": "^9.4",
"drupal/core-project-message": "^9.4",
"drupal/core-recommended": "^9.4",
"drupal/genpass": "^1.1",
"drupal/graphql": "4.x-dev@dev",
"drupal/paragraphs": "^1.15",
"drupal/structure_sync": "^2.0",

69
src/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": "c28f37daf42fd941e5a8be2f3cb6e2a2",
"content-hash": "f99b5078374f3e6782bdb6cec43b4c1f",
"packages": [
{
"name": "alchemy/zippy",
@ -5297,6 +5297,73 @@
"issues": "http://drupal.org/project/issues/formatter_suite"
}
},
{
"name": "drupal/genpass",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/genpass.git",
"reference": "8.x-1.1"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/genpass-8.x-1.1.zip",
"reference": "8.x-1.1",
"shasum": "12971093f5d0fce1fcb18856eb8b54809e0e46e4"
},
"require": {
"drupal/core": "^8 || ^9"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.1",
"datestamp": "1613575173",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
}
}
},
"notification-url": "https://packages.drupal.org/8/downloads",
"license": [
"GPL-2.0+"
],
"authors": [
{
"name": "Kris77",
"homepage": "https://www.drupal.org/u/kris77",
"role": "contributor"
},
{
"name": "NitinSP",
"homepage": "https://www.drupal.org/user/2198938"
},
{
"name": "greggles",
"homepage": "https://www.drupal.org/user/36762"
},
{
"name": "japanitrat",
"homepage": "https://www.drupal.org/user/268715"
},
{
"name": "joelstein",
"homepage": "https://www.drupal.org/user/36598"
},
{
"name": "starbow",
"homepage": "https://www.drupal.org/user/33290"
}
],
"description": "Great utility module which makes the password field optional (or hidden) on the add new user page (admin & registration). If the password field is not set during registration, the system will generate a password. You can optionally display this password at the time it's created.",
"homepage": "http://drupal.org/project/genpass",
"support": {
"source": "https://github.com/luksak/genpass",
"issues": "http://drupal.org/project/issues/genpass",
"irc": "irc://irc.freenode.org/drupal-contribute"
}
},
{
"name": "drupal/graphql",
"version": "dev-4.x",

View File

@ -53,6 +53,7 @@ module:
filter: 0
filter_perms: 0
formatter_suite: 0
genpass: 0
graphql: 0
help: 0
honeypot: 0

View File

@ -1,4 +1,5 @@
_core:
default_config_hash: k024s6lEcCjGqAq_82KNi-RRCCc37Jxo5frFNChAqao
login_with_username: false
langcode: fr
login_with_username: false
require_username_on_registration: false

View File

@ -0,0 +1,7 @@
_core:
default_config_hash: WUl1i1B8__vCjheq4Bh5NhbHEdBUawB9LwQ9SC9ox24
langcode: fr
genpass_length: 12
genpass_algorithm: user
genpass_mode: 1
genpass_display: 3

View File

@ -12,3 +12,4 @@ page:
admin_compact_mode: false
weight_select_max: 100
default_langcode: fr
mail_notification: ''

View File

@ -3,20 +3,7 @@ _core:
langcode: fr
cancel_confirm:
subject: 'Demande d''annulation du compte [user:display-name] sur [site:name]'
body: |-
[user:display-name],
A request to cancel your account has been made at [site:name].
You may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:
[user:cancel-url]
NOTE: The cancellation of your account is not reversible.
This link expires in one day and nothing will happen if it is not used.
-- [site:name] team
body: "[user:display-name],\r\n\r\nA request to cancel your account has been made at [site:name].\r\n\r\nYou may now cancel your account on [site:url-brief] by clicking this link or copying and pasting it into your browser:\r\n\r\n[user:cancel-url]\r\n\r\nNOTE: The cancellation of your account is not reversible.\r\n\r\nThis link expires in one day and nothing will happen if it is not used.\r\n\r\n-- [site:name] team"
password_reset:
subject: 'Modification des informations de connexion pour [user:display-name] sur [site:name]'
body: "[user:display-name],\r\n\r\nUne demande de réinitialisation de votre mot de passe pour votre compte a été faite sur [site:name].\r\n\r\nVous pouvez maintenant vous connecter en cliquant sur le lien ci-dessous ou en le copiant dans votre navigateur : \r\n\r\n[user:one-time-login-url]\r\n\r\nCe lien ne peut être utilisé qu'une seule fois pour vous connecter et vous mènera à la page pour changer votre mot de passe. Il expirera dans un jour et rien ne se passera s'il n'est pas utilisé.\r\n\r\n-- L'équipe de [site:name]"

View File

@ -1,5 +1,6 @@
_core:
default_config_hash: fbROM54Y8G4Yfeq1G2NbNX6K9ovDAP55c7YM9dTaSWQ
langcode: fr
anonymous: Anonyme
verify_mail: false
notify:
@ -15,4 +16,3 @@ register: visitors
cancel_method: user_cancel_block
password_reset_timeout: 86400
password_strength: true
langcode: fr