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
Litemall
Commits
795ba9e7
Commit
795ba9e7
authored
Mar 20, 2019
by
Junling Bu
Browse files
chore[litemall-admin-api]: 后端认证失败,不返回具体内部信息。
parent
2e2cb601
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-admin-api/src/main/java/org/linlinjava/litemall/admin/web/AdminAuthController.java
View file @
795ba9e7
...
...
@@ -61,7 +61,7 @@ public class AdminAuthController {
return
ResponseUtil
.
fail
(
ADMIN_INVALID_ACCOUNT
,
"用户帐号已锁定不可用"
);
}
catch
(
AuthenticationException
ae
)
{
return
ResponseUtil
.
fail
(
ADMIN_INVALID_ACCOUNT
,
ae
.
getMessage
()
);
return
ResponseUtil
.
fail
(
ADMIN_INVALID_ACCOUNT
,
"认证失败"
);
}
return
ResponseUtil
.
ok
(
currentUser
.
getSession
().
getId
());
}
...
...
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