Captcha now is uppercase because it was too hard to type
This commit is contained in:
parent
444fe447c3
commit
94bed7b5d0
|
@ -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 New Issue