فهرست منبع

!57 去掉密码策略校验
Merge pull request !57 from zwj/N/A

MaxKeyTop 1 هفته پیش
والد
کامیت
c598897820

+ 1 - 4
maxkey-authentications/maxkey-authentication-provider/src/main/java/org/dromara/maxkey/authn/provider/impl/TrustedAuthenticationProvider.java

@@ -60,10 +60,7 @@ public class TrustedAuthenticationProvider extends AbstractAuthenticationProvide
         UserInfo loadeduserInfo = loadUserInfo(loginCredential.getUsername(), "");
         statusValid(loginCredential , loadeduserInfo);
         if (loadeduserInfo != null) {
-            //Validate PasswordPolicy
-            authenticationRealm.getLoginService().passwordPolicyValid(loadeduserInfo);
-            //apply PasswordSetType and resetBadPasswordCount
-            authenticationRealm.getLoginService().applyPasswordPolicy(loadeduserInfo);
+  
             Authentication authentication = createOnlineTicket(loginCredential,loadeduserInfo);
             
             authenticationRealm.insertLoginHistory( loadeduserInfo,