From: Raphaƫl Gertz Date: Fri, 10 Nov 2023 14:44:45 +0000 (+0100) Subject: Reduce captcha watermark stroke width X-Git-Tag: 0.3.0~2 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/169794abc05627fdc279d24c984da4f74c658ff7?ds=sidebyside;hp=8497d519fc54379d720e62baff2062e66637c330 Reduce captcha watermark stroke width --- diff --git a/Controller/ImageController.php b/Controller/ImageController.php index dd54839..6314361 100644 --- a/Controller/ImageController.php +++ b/Controller/ImageController.php @@ -151,7 +151,7 @@ class ImageController extends AbstractController implements ServiceSubscriberInt $draw->setFontSize($this->image->captchaFontSize/1.5); //Set stroke width - $draw->setStrokeWidth($this->image->captchaStrokeWidth / 2); + $draw->setStrokeWidth($this->image->captchaStrokeWidth / 3); //Set rotation $draw->rotate($rotate = (rand(25, 75)*(rand(0,1)?-.1:.1)));