From f023d0f3e7bf46f4833e285a84e840f59fd96035 Mon Sep 17 00:00:00 2001 From: SepehrYahyaee <7heycallmegray@gmail.com> Date: Sat, 6 Jun 2026 10:45:53 +0330 Subject: [PATCH] Simplified captcha --- src/captcha/captcha.service.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/captcha/captcha.service.ts b/src/captcha/captcha.service.ts index c7a8149..5b00d88 100644 --- a/src/captcha/captcha.service.ts +++ b/src/captcha/captcha.service.ts @@ -13,9 +13,9 @@ export class CaptchaService { generate(): GeneratedCaptcha { const captcha = svgCaptcha.create({ size: 5, - ignoreChars: "0oO1ilI", - noise: 3, - color: true, + ignoreChars: "abcdefghijklmnopqrstuvwxyzACDEFGHIJKLMNOPQRSTUVWXYZ", + noise: 1, + color: false, background: "#f8fafc", width: 160, height: 56,