1
0
forked from Yara724/api

Simplified captcha

This commit is contained in:
SepehrYahyaee
2026-06-06 10:45:53 +03:30
parent 2d7afba75d
commit f023d0f3e7

View File

@@ -13,9 +13,9 @@ export class CaptchaService {
generate(): GeneratedCaptcha { generate(): GeneratedCaptcha {
const captcha = svgCaptcha.create({ const captcha = svgCaptcha.create({
size: 5, size: 5,
ignoreChars: "0oO1ilI", ignoreChars: "abcdefghijklmnopqrstuvwxyzACDEFGHIJKLMNOPQRSTUVWXYZ",
noise: 3, noise: 1,
color: true, color: false,
background: "#f8fafc", background: "#f8fafc",
width: 160, width: 160,
height: 56, height: 56,