forked from Yara724/api
Simplified captcha
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user