Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
b9a97ef4
Commit
b9a97ef4
authored
Dec 31, 2019
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改验证码记录提示错误
parent
de870bd2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ruoyi/src/main/java/com/ruoyi/framework/security/service/SysLoginService.java
...com/ruoyi/framework/security/service/SysLoginService.java
+2
-2
No files found.
ruoyi/src/main/java/com/ruoyi/framework/security/service/SysLoginService.java
View file @
b9a97ef4
...
@@ -51,12 +51,12 @@ public class SysLoginService
...
@@ -51,12 +51,12 @@ public class SysLoginService
redisCache
.
deleteObject
(
verifyKey
);
redisCache
.
deleteObject
(
verifyKey
);
if
(
captcha
==
null
)
if
(
captcha
==
null
)
{
{
AsyncManager
.
me
().
execute
(
AsyncFactory
.
recordLogininfor
(
username
,
Constants
.
LOGIN_FAIL
,
MessageUtils
.
message
(
"user.jcaptcha.e
rror
"
)));
AsyncManager
.
me
().
execute
(
AsyncFactory
.
recordLogininfor
(
username
,
Constants
.
LOGIN_FAIL
,
MessageUtils
.
message
(
"user.jcaptcha.e
xpire
"
)));
throw
new
CaptchaExpireException
();
throw
new
CaptchaExpireException
();
}
}
if
(!
code
.
equalsIgnoreCase
(
captcha
))
if
(!
code
.
equalsIgnoreCase
(
captcha
))
{
{
AsyncManager
.
me
().
execute
(
AsyncFactory
.
recordLogininfor
(
username
,
Constants
.
LOGIN_FAIL
,
MessageUtils
.
message
(
"user.jcaptcha.e
xpire
"
)));
AsyncManager
.
me
().
execute
(
AsyncFactory
.
recordLogininfor
(
username
,
Constants
.
LOGIN_FAIL
,
MessageUtils
.
message
(
"user.jcaptcha.e
rror
"
)));
throw
new
CaptchaException
();
throw
new
CaptchaException
();
}
}
// 用户验证
// 用户验证
...
...
Write
Preview
Markdown
is supported
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