File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
java/io/github/talelin/latticy/common/configuration Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public class LoginCaptchaProperties {
17
17
/**
18
18
* aes 密钥
19
19
*/
20
- private String secret ;
20
+ private String secret = CaptchaUtil . getRandomString ( 32 ) ;
21
21
/**
22
22
* aes 偏移量
23
23
*/
Original file line number Diff line number Diff line change 2
2
3
3
server :
4
4
# 服务端口
5
- port : 5000
5
+ port : 3000
6
6
7
7
8
8
spring :
9
9
# 数据源配置,请修改为你项目的实际配置
10
10
datasource :
11
11
username : " root"
12
- password : " 123456 "
12
+ password : " yishiyile "
13
13
driver-class-name : com.mysql.cj.jdbc.Driver
14
14
url : jdbc:mysql://localhost:3306/lin-cms?useSSL=false&serverTimezone=UTC&characterEncoding=UTF8
15
15
20
20
21
21
# 开启登录要求验证码
22
22
login-captcha :
23
- enabled : false
24
- secret : " ywdh012379y983hd938j091d "
23
+ enabled : true
24
+ secret : " m49CPM5ak@MDXTzbbT_ZEyMM3KBsBn!h "
25
25
26
26
# 开启http请求日志记录
27
27
request-log :
Original file line number Diff line number Diff line change 19
19
# 开启登录要求验证码
20
20
login-captcha :
21
21
enabled : false
22
- secret : " ywdh012379y983hd938j091d "
22
+ secret : " m49CPM5ak@MDXTzbbT_ZEyMM3KBsBn!h "
23
23
24
24
# 开启请求日志记录
25
25
request-log :
You can’t perform that action at this time.
0 commit comments