diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc
index 3943f6b34bca10fdf748b8f698e7cf9fbc6247c7..dccef87adbc777f524abf6ed9983a421968ec182 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
         ),