From 89aa3cc1f53acb86ec51947809d7a24f72201b27 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 25 Apr 2016 08:41:32 +0000 Subject: [PATCH] correctly convert password fields --- doc/config2xet.php | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/config2xet.php b/doc/config2xet.php index 0660b73e43..d3828d87b4 100644 --- a/doc/config2xet.php +++ b/doc/config2xet.php @@ -84,6 +84,7 @@ foreach($trs[2] as $n => $tr) unset($attrs['value'], $attrs['name']); foreach($attrs as $name => $value) { + if ($name == 'type' && $value == 'password') $value = 'passwd'; echo " $name=\"$value\""; } echo "/>\n";