mirror of
https://github.com/openvk/commitcaptcha.git
synced 2024-11-14 19:19:09 +03:00
Captcha now is uppercase because it was too hard to type
This commit is contained in:
parent
444fe447c3
commit
94bed7b5d0
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class CaptchaManager
|
|||
|
||||
private function generateCode(): string
|
||||
{
|
||||
return str_replace("/", "+", base64_encode(openssl_random_pseudo_bytes(6)));
|
||||
return mb_strtoupper(str_replace("/", "+", base64_encode(openssl_random_pseudo_bytes(6))));
|
||||
}
|
||||
|
||||
private function applyNoiseOnImage(Image $image, \Closure $fun): void
|
||||
|
|
Loading…
Reference in a new issue