This commit is contained in:
2026-03-12 17:10:35 +08:00
parent 0f861019b2
commit 2b2344beb3
5 changed files with 44 additions and 342 deletions
@@ -304,7 +304,7 @@ public class SysUserServiceImpl extends BaseServiceImpl<Sys_user> implements Sys
String decodePwd = Base64Decoder.decodeStr(passowrd);
String hashedPassword = PwdUtil.getPassword(decodePwd, user.getSalt());
if (!Strings.sNull(hashedPassword).equalsIgnoreCase(user.getPassword())) {
if (!Globals.sso) {
if (Globals.sso) {
throw new BaseException("用户名或者密码不正确");
}
}