mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 10:57:13 +08:00 
			
		
		
		
	chore: 优化行为验证码配置
This commit is contained in:
		| @@ -120,7 +120,13 @@ continew-starter.captcha: | |||||||
|   behavior: |   behavior: | ||||||
|     enabled: true |     enabled: true | ||||||
|     cache-type: REDIS |     cache-type: REDIS | ||||||
|     water-mark: ${project.app-name} |     water-mark: | ||||||
|  |     # 一分钟内接口请求次数限制开关(默认:0,关闭,开启后下方失败锁定配置才会生效) | ||||||
|  |     req-frequency-limit-enable: 0 | ||||||
|  |     # 一分钟内验证码最多失败次数限制(默认:5次) | ||||||
|  |     req-get-lock-limit: 5 | ||||||
|  |     # 一分钟内验证码最多失败次数限制达标后锁定时间(默认:300秒) | ||||||
|  |     req-get-lock-seconds: 300 | ||||||
|   ## 图形验证码 |   ## 图形验证码 | ||||||
|   graphic: |   graphic: | ||||||
|     # 类型 |     # 类型 | ||||||
|   | |||||||
| @@ -122,7 +122,13 @@ continew-starter.captcha: | |||||||
|   behavior: |   behavior: | ||||||
|     enabled: true |     enabled: true | ||||||
|     cache-type: REDIS |     cache-type: REDIS | ||||||
|     water-mark: ${project.app-name} |     water-mark: | ||||||
|  |     # 一分钟内接口请求次数限制开关(默认:0,关闭,开启后下方失败锁定配置才会生效) | ||||||
|  |     req-frequency-limit-enable: 0 | ||||||
|  |     # 一分钟内验证码最多失败次数限制(默认:5次) | ||||||
|  |     req-get-lock-limit: 5 | ||||||
|  |     # 一分钟内验证码最多失败次数限制达标后锁定时间(默认:300秒) | ||||||
|  |     req-get-lock-seconds: 300 | ||||||
|   ## 图形验证码 |   ## 图形验证码 | ||||||
|   graphic: |   graphic: | ||||||
|     # 类型 |     # 类型 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user