diff --git a/ecrire/install/etape_3b.php b/ecrire/install/etape_3b.php
index 498ab6f4793c72c2161c8f495d4a85da768f6a24..0b194b2385fdc833e5a03e31e220045790089528 100644
--- a/ecrire/install/etape_3b.php
+++ b/ecrire/install/etape_3b.php
@@ -84,7 +84,7 @@ function install_etape_3b_dist() {
 		include_spip('auth/sha256.inc');
 		include_spip('inc/acces');
 		if ($generer_htpass = charger_fonction('generer_htpass', 'inc', true)) {
-			$htpass = $generer_htpass($new_pass);
+			$htpass = $generer_htpass($pass);
 		}
 		$alea_actuel = creer_uniqid();
 		$alea_futur = creer_uniqid();