diff --git a/views/bootstrap/class.EditUserData.php b/views/bootstrap/class.EditUserData.php
index 2fd2e47d6..cc605ed43 100644
--- a/views/bootstrap/class.EditUserData.php
+++ b/views/bootstrap/class.EditUserData.php
@@ -100,14 +100,26 @@ $(document).ready( function() {
'id'=>'currentpwd',
'name'=>'currentpwd',
'autocomplete'=>'off',
- 'required'=>true
+ 'required'=>true,
+ 'addon'=>''
)
);
if(!$disablechangepassword) {
$this->formField(
getMLText("new_password"),
- ''
+ array(
+ 'element'=>'input',
+ 'type'=>'password',
+ 'id'=>'pwd',
+ 'name'=>'pwd',
+ 'class'=>'pwd',
+ 'autocomplete'=>'off',
+ 'required'=>true,
+ 'attributes'=>[['rel', 'strengthbar']],
+ 'addon'=>''
+ )
);
+
if($passwordstrength) {
$this->formField(
getMLText("password_strength"),
@@ -122,6 +134,7 @@ $(document).ready( function() {
'id'=>'pwdconf',
'name'=>'pwdconf',
'autocomplete'=>'off',
+ 'addon'=>''
)
);
}