mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-22 20:02:42 +08:00
文案修改
This commit is contained in:
parent
4c085d4836
commit
c987b34b9b
@ -65,7 +65,7 @@ public class LoginController {
|
|||||||
String limitKey = "login-limit:" + req.getEmail();
|
String limitKey = "login-limit:" + req.getEmail();
|
||||||
Long reqCount = rateLimiterService.current(limitKey, 600L);
|
Long reqCount = rateLimiterService.current(limitKey, 600L);
|
||||||
if (reqCount >= 10) {
|
if (reqCount >= 10) {
|
||||||
return JsonResponse.error("多次账密错误,账号被锁30分钟");
|
return JsonResponse.error("多次账密错误,账号被锁10分钟");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!HelperUtil.MD5(req.getPassword() + user.getSalt()).equals(user.getPassword())) {
|
if (!HelperUtil.MD5(req.getPassword() + user.getSalt()).equals(user.getPassword())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user