mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
#4492 - Prevent autofill / autocomplete on captcha
This commit is contained in:
parent
cdde5ef86b
commit
ee346eb06c
@ -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));
|
||||
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'));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user