From ec6ff8791c2ccee1efcf1ab66d5445529ee8d7af Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Tue, 27 Feb 2024 10:12:43 +0100 Subject: [PATCH] Ajout d'infos sur les utilisateurs --- HowtoDrupal.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/HowtoDrupal.md b/HowtoDrupal.md index b7d679c2..43909c01 100644 --- a/HowtoDrupal.md +++ b/HowtoDrupal.md @@ -372,7 +372,6 @@ $ drush -l test1 updatedb ~~~ - ## Optimisation * Drupal 7 : @@ -477,6 +476,19 @@ SecRule ARGS_GET_NAMES|ARGS_POST_NAMES|REQUEST_COOKIES_NAMES "^#" "t:none,log,de La solution est de créer un dossier `config/sync` a la racine du projet, avec des droits d'écritures pour le serveur web. +### Gestion des utilisateurs + +~~~ +MariaDB> select * from users,users_field_data where users.uid=users_field_data.uid; ++-----+--------------------------------------+----------+-----+----------+--------------------+--------------------------+--------+---------+-------------------+----------+--------+------------+------------+------------+------------+------------------+------------------+ +| uid | uuid | langcode | uid | langcode | preferred_langcode | preferred_admin_langcode | name | pass | mail | timezone | status | created | changed | access | login | init | default_langcode | ++-----+--------------------------------------+----------+-----+----------+--------------------+--------------------------+--------+---------+-------------------+----------+--------+------------+------------+------------+------------+------------------+------------------+ +| 0 | 0b713940-204b-41c3-93aa-2380aa773d70 | en | 0 | en | en | NULL | | NULL | NULL | | 0 | 1708703180 | 1708703180 | 0 | 0 | NULL | 1 | +| 1 | b2f79d0b-638c-4d45-927c-f196e33417e2 | en | 1 | en | en | NULL | admin | $2y$... | admin@example.com | UTC | 1 | 1708955952 | 1708956585 | 1708956573 | 1708956573 | init@example.com | 1 | ++-----+--------------------------------------+----------+-----+----------+--------------------+--------------------------+--------+---------+-------------------+----------+--------+------------+------------+------------+------------+------------------+------------------+ +~~~ + + ## FAQ ### The website encountered an unexpected error. Please try again later