Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

update captcha ui

aichy12660e842610224
diff --git a/internal/service/action/captcha_service.go b/internal/service/action/captcha_service.go
index 84a189ed..5c243689 100644
--- a/internal/service/action/captcha_service.go
+++ b/internal/service/action/captcha_service.go
@@ -121,7 +121,7 @@ func (cs *CaptchaService) GenerateCaptcha(ctx context.Context) (key, captchaBase
ShowLineOptions: 2 | 4,
Length: 4,
Source: "1234567890qwertyuioplkjhgfdsazxcvbnm",
- BgColor: &color.RGBA{R: 3, G: 102, B: 214, A: 125},
+ BgColor: &color.RGBA{R: 247, G: 248, B: 249, A: 255},
Fonts: []string{"wqy-microhei.ttc"},
}
driver := driverString.ConvertFonts()