Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
c968eb36
Commit
c968eb36
authored
Feb 03, 2021
by
zhengjie
Browse files
[代码优化](v2.6):修正配置文件[login-code: height]拼写错误
parent
e4e318aa
Changes
5
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/main/java/me/zhengjie/modules/security/config/ConfigBeanConfiguration.java
View file @
c968eb36
...
...
@@ -30,13 +30,13 @@ import org.springframework.context.annotation.Configuration;
public
class
ConfigBeanConfiguration
{
@Bean
@ConfigurationProperties
(
prefix
=
"login"
,
ignoreUnknownFields
=
true
)
@ConfigurationProperties
(
prefix
=
"login"
)
public
LoginProperties
loginProperties
()
{
return
new
LoginProperties
();
}
@Bean
@ConfigurationProperties
(
prefix
=
"jwt"
,
ignoreUnknownFields
=
true
)
@ConfigurationProperties
(
prefix
=
"jwt"
)
public
SecurityProperties
securityProperties
()
{
return
new
SecurityProperties
();
}
...
...
eladmin-system/src/main/java/me/zhengjie/modules/security/config/bean/LoginCode.java
View file @
c968eb36
...
...
@@ -20,8 +20,8 @@ import lombok.Data;
/**
* 登录验证码配置信息
*
* @author
:
liaojinlong
* @date
:
2020/6/10 18:53
* @author liaojinlong
* @date 2020/6/10 18:53
*/
@Data
public
class
LoginCode
{
...
...
eladmin-system/src/main/java/me/zhengjie/modules/security/config/bean/LoginProperties.java
View file @
c968eb36
...
...
@@ -39,6 +39,7 @@ public class LoginProperties {
private
boolean
singleLogin
=
false
;
private
LoginCode
loginCode
;
/**
* 用户登录信息缓存
*/
...
...
eladmin-system/src/main/resources/config/application-dev.yml
View file @
c968eb36
...
...
@@ -66,7 +66,7 @@ login:
# 验证码高度
width
:
111
# 验证码宽度
heig
t
h
:
36
heigh
t
:
36
# 内容长度
length
:
2
# 字体名称,为空则使用默认字体
...
...
eladmin-system/src/main/resources/config/application-prod.yml
View file @
c968eb36
...
...
@@ -65,7 +65,7 @@ login:
# 验证码高度
width
:
111
# 验证码宽度
heig
t
h
:
36
heigh
t
:
36
# 内容长度
length
:
2
# 字体名称,为空则使用默认字体,如遇到线上乱码,设置其他字体即可
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment