fix: captcha uses dark high-contrast colors only
This commit is contained in:
@@ -11,7 +11,7 @@ router.get('/', async (req, res) => {
|
||||
const captcha = svgCaptcha.create({
|
||||
size: 4,
|
||||
noise: 3,
|
||||
color: true,
|
||||
color: ['#1e40af','#7c3aed','#be123c','#b45309','#047857','#0f766e','#4338ca','#a21caf','#b91c1c','#3b82f6'],
|
||||
background: '#f4f4f4',
|
||||
width: 120,
|
||||
height: 44,
|
||||
|
||||
Reference in New Issue
Block a user