1
0
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:
Moc 2021-04-24 11:59:26 +02:00
parent cdde5ef86b
commit ee346eb06c
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2

View File

@ -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'));
}