提交修改
This commit is contained in:
parent
6011564fa2
commit
64c4e2ea6e
@ -202,7 +202,7 @@ public class SysLoginController extends AbstractController {
|
|||||||
}
|
}
|
||||||
//测试环境将不进行短信验证码,
|
//测试环境将不进行短信验证码,
|
||||||
// if (!StringUtil.equals(environment, Constant.INVELOMENT_TYPE_TEST)) {
|
// if (!StringUtil.equals(environment, Constant.INVELOMENT_TYPE_TEST)) {
|
||||||
if (true) {
|
if (false) {
|
||||||
//账号不存在、密码错误
|
//账号不存在、密码错误
|
||||||
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