refactor: 适配 ContiNew Starter 图形验证码

This commit is contained in:
2023-11-24 23:45:15 +08:00
parent b7fc5a5524
commit 8a11a020e0
7 changed files with 22 additions and 152 deletions

View File

@@ -130,18 +130,15 @@ spring.mail:
--- ### 验证码配置
captcha:
## 图验证码配置
image:
## 图验证码配置
graphic:
enabled: true
# 类型
type: SPEC
# 内容长度
length: 4
# 过期时间
expirationInMinutes: 2
# 宽度
width: 111
# 高度
height: 36
## 邮箱验证码配置
mail:
# 内容长度

View File

@@ -132,18 +132,15 @@ spring.mail:
--- ### 验证码配置
captcha:
## 图验证码配置
image:
## 图验证码配置
graphic:
enabled: true
# 类型
type: SPEC
# 内容长度
length: 4
# 过期时间
expirationInMinutes: 2
# 宽度
width: 111
# 高度
height: 36
## 邮箱验证码配置
mail:
# 内容长度