1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Admin-UI: Disabled browser autocomplete (was messing up user passwords if editing their record)

This commit is contained in:
Cameron
2015-04-06 17:27:11 -07:00
parent 7a2226036b
commit a69794bd56

View File

@@ -122,7 +122,7 @@ class e_form
{
$autoComplete = " autocomplete='".($options['autocomplete'] ? 'on' : 'off')."'";
}
if($method == 'get' && strpos($target,'='))
{
@@ -4213,7 +4213,7 @@ class e_form
$curTab = varset($_GET['tab'],0);
$text .= "
<form method='post' action='".$url."' id='{$form['id']}-form' enctype='multipart/form-data'>
<form method='post' action='".$url."' id='{$form['id']}-form' enctype='multipart/form-data' autocomplete='off' >
<div>
".vartrue($form['header'])."
".$this->token()."