From 93e124facff5c9162896a1c7fa6dd5fd73a7bcbe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Mon, 8 Aug 2016 10:31:55 +0200
Subject: [PATCH] Fixes #5052 Using plain text password field to avoid firefox
 bug

---
 plugins/personal/generic/class_user.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc
index 3943f6b34..dccef87ad 100644
--- a/plugins/personal/generic/class_user.inc
+++ b/plugins/personal/generic/class_user.inc
@@ -47,11 +47,11 @@ class UserPasswordAttribute extends CompositeAttribute
           $ldapName.'_pwstorage', TRUE,
           array_keys($pwd_methods), '', array_values($pwd_methods)
         ),
-        new PasswordAttribute(
+        new StringAttribute(
           _('Password'), _('Password (Leave empty if you do not wish to change it)'),
           $ldapName.'_password', $required
         ),
-        new PasswordAttribute(
+        new StringAttribute(
           _('Password again'), _('Same password as above, to avoid errors'),
           $ldapName.'_password2', $required
         ),
-- 
GitLab