Skip to content

Commit

Permalink
更新注册提示信息
Browse files Browse the repository at this point in the history
  • Loading branch information
think-gem committed Nov 13, 2024
1 parent 207897e commit 14f57be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ public String saveRegByValidCode(User user, String regValidCode, HttpServletRequ

// 一同验证保存的用户名和验证码是否正确(如果只校验验证码,不验证用户名,则会有获取验证码后修改用户名的漏洞)
if (!(loginCode != null && loginCode.equals(user.getLoginCode()))){
return renderResult(Global.FALSE, text("非法操作。"));
return renderResult(Global.FALSE, text("请先获取验证码。"));
}

// 验证码是否超时
Expand Down

0 comments on commit 14f57be

Please sign in to comment.