mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +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')."'";
|
$autoComplete = " autocomplete='".($options['autocomplete'] ? 'on' : 'off')."'";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if($method == 'get' && strpos($target,'='))
|
if($method == 'get' && strpos($target,'='))
|
||||||
{
|
{
|
||||||
@@ -4213,7 +4213,7 @@ class e_form
|
|||||||
$curTab = varset($_GET['tab'],0);
|
$curTab = varset($_GET['tab'],0);
|
||||||
|
|
||||||
$text .= "
|
$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>
|
<div>
|
||||||
".vartrue($form['header'])."
|
".vartrue($form['header'])."
|
||||||
".$this->token()."
|
".$this->token()."
|
||||||
|
Reference in New Issue
Block a user