管理端编辑,新增企业人员手机号时可以填写座机号(不处理企业人员登录)
This commit is contained in:
-1
@@ -139,7 +139,6 @@ public class LoginController {
|
|||||||
//2. 校验用户名或密码是否正确
|
//2. 校验用户名或密码是否正确
|
||||||
String userpassword = PasswordUtil.encrypt(username, password, sysUser.getSalt());
|
String userpassword = PasswordUtil.encrypt(username, password, sysUser.getSalt());
|
||||||
String syspassword = sysUser.getPassword();
|
String syspassword = sysUser.getPassword();
|
||||||
log.info("{}用户解密后的密码:{}",username,PasswordUtil.decrypt(username, syspassword, sysUser.getSalt()));
|
|
||||||
if (!syspassword.equals(userpassword)) {
|
if (!syspassword.equals(userpassword)) {
|
||||||
// 重试登录次数加一
|
// 重试登录次数加一
|
||||||
retryCount++;
|
retryCount++;
|
||||||
|
|||||||
Reference in New Issue
Block a user