Simplified captcha, Fixed unified damaged parts

This commit is contained in:
SepehrYahyaee
2026-06-07 10:34:10 +03:30
parent f023d0f3e7
commit 34142942e5
3 changed files with 58 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ export class CaptchaService {
generate(): GeneratedCaptcha {
const captcha = svgCaptcha.create({
size: 5,
ignoreChars: "abcdefghijklmnopqrstuvwxyzACDEFGHIJKLMNOPQRSTUVWXYZ",
ignoreChars: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
noise: 1,
color: false,
background: "#f8fafc",