From bfc63a8194a58b2ca97be1f7792ec3ef6f46a052 Mon Sep 17 00:00:00 2001 From: canglan Date: Fri, 17 Jul 2026 00:30:18 +0800 Subject: [PATCH] fix: captcha uses dark high-contrast colors only --- backend/routes/captcha.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routes/captcha.js b/backend/routes/captcha.js index a1e1e1b..0ec28ca 100644 --- a/backend/routes/captcha.js +++ b/backend/routes/captcha.js @@ -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,