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:
@@ -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()."
|
||||
|
Reference in New Issue
Block a user