提交修改
This commit is contained in:
parent
2e7bba668b
commit
46b7da1aae
@ -201,7 +201,8 @@ public class SysLoginController extends AbstractController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
//测试环境将不进行短信验证码,
|
//测试环境将不进行短信验证码,
|
||||||
if (!StringUtil.equals(environment, Constant.INVELOMENT_TYPE_TEST)) {
|
// if (!StringUtil.equals(environment, Constant.INVELOMENT_TYPE_TEST)) {
|
||||||
|
if (true) {
|
||||||
//账号不存在、密码错误
|
//账号不存在、密码错误
|
||||||
if (!user.getPassword().equals(new Sha256Hash(form.getPassword(), user.getSalt()).toHex())) {
|
if (!user.getPassword().equals(new Sha256Hash(form.getPassword(), user.getSalt()).toHex())) {
|
||||||
return R.error("密码不正确!");
|
return R.error("密码不正确!");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user