修复
This commit is contained in:
parent
5f128805c6
commit
c2ba51d97b
@ -203,7 +203,7 @@ public class SysLoginController extends AbstractController {
|
||||
}
|
||||
}
|
||||
//测试环境将不进行短信验证码,
|
||||
if (!sendSMSCode) {
|
||||
if (sendSMSCode) {
|
||||
//账号不存在、密码错误
|
||||
if (!user.getPassword().equals(new Sha256Hash(form.getPassword(), user.getSalt()).toHex())) {
|
||||
return R.error("密码不正确!");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user