mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Fixes #4492 - Disable autocomplete on captcha (secure image)
This commit is contained in:
@@ -230,7 +230,7 @@ class secure_image
|
||||
}
|
||||
|
||||
$frm = e107::getForm();
|
||||
return $frm->hidden("rand_num", $this->random_number).$frm->text("code_verify", "", 20, array( "size"=>20, 'required'=>1, 'placeholder'=>LAN_ENTER_CODE, 'autocomplete' => 'one-time-code'));
|
||||
return $frm->hidden("rand_num", $this->random_number).$frm->text("code_verify", "", 20, array( "size"=>20, 'required'=>1, 'placeholder'=>LAN_ENTER_CODE, 'autocomplete' => 'off'));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user