Bladeren bron

Customer portal : Disabled autocomplete on password fields in the user profile form

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4108 a333f486-631f-4898-b8df-5754b55c2be0
glajarige 9 jaren geleden
bovenliggende
commit
1ee0724409
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      sources/renderer/bootstrap/fieldrenderer/bssimplefieldrenderer.class.inc.php

+ 1 - 1
sources/renderer/bootstrap/fieldrenderer/bssimplefieldrenderer.class.inc.php

@@ -77,7 +77,7 @@ EOF
 						$oOutput->AddHtml('<label for="' . $this->oField->GetGlobalId() . '" class="control-label">')->AddHtml($this->oField->GetLabel(), true)->AddHtml('</label>');
 					}
 					$oOutput->AddHtml('<div class="help-block"></div>');
-					$oOutput->AddHtml('<input type="password" id="' . $this->oField->GetGlobalId() . '" name="' . $this->oField->GetId() . '" value="')->AddHtml($this->oField->GetCurrentValue(), true)->AddHtml('" class="form-control" maxlength="255" />');
+					$oOutput->AddHtml('<input type="password" id="' . $this->oField->GetGlobalId() . '" name="' . $this->oField->GetId() . '" value="')->AddHtml($this->oField->GetCurrentValue(), true)->AddHtml('" class="form-control" maxlength="255" autocomplete="off" />');
 					$oOutput->AddHtml('</div>');
 					break;