Change CAPTCHA alphabet

main
Pk11 2 years ago
parent 604478271b
commit 2e26a99dcf

@ -26,7 +26,7 @@
*/
$start_time = microtime(true);
$captcha_str = substr(strtr(sha1($start_time), "1234567890", "ABCDEFGHgh"), 0, 6);
$captcha_str = substr(strtr(sha1($start_time), "1234567890ABCDEF", "abdeghjkmnpqtuwx"), 0, 6);
// Return source code
if(isset($_GET['source'])) {

Loading…
Cancel
Save