[openmairie-framework-Commits] r5496 - openmairie_exemple/branches/POC_migration_mots_de_passe/core/obj

0 views
Skip to first unread message

nathan...@users.adullact.net

unread,
Feb 27, 2026, 12:49:13 PM (6 days ago) Feb 27
to openmairie...@googlegroups.com
Author: nathanaelhoun
Date: 2026-02-27 18:49:10 +0100 (Fri, 27 Feb 2026)
New Revision: 5496

Modified:
openmairie_exemple/branches/POC_migration_mots_de_passe/core/obj/om_utilisateur.class.php
Log:
fix: hashage du mot de passe a la creation

Modified: openmairie_exemple/branches/POC_migration_mots_de_passe/core/obj/om_utilisateur.class.php
===================================================================
--- openmairie_exemple/branches/POC_migration_mots_de_passe/core/obj/om_utilisateur.class.php 2026-02-27 16:38:56 UTC (rev 5495)
+++ openmairie_exemple/branches/POC_migration_mots_de_passe/core/obj/om_utilisateur.class.php 2026-02-27 17:49:10 UTC (rev 5496)
@@ -55,7 +55,7 @@
/* Gestion des mises a jour du mot de passe */

// si un mot de passe est soumis par formulaire
- if ($val["pwd"] != '') {
+ if ($val["password_hash"] != '') {

// si le mot de passe contient une valeur 'valide' (!= "*****")
if ($val["password_hash"] != "*****") {

Reply all
Reply to author
Forward
0 new messages