瀏覽代碼

用户可以不停注册,还原,如果改了,很多地方无法正常使用

zouxuan 4 年之前
父節點
當前提交
b464fadc19

+ 0 - 3
mec-auth/mec-auth-server/src/main/java/com/ym/mec/auth/core/provider/PhoneAuthenticationProvider.java

@@ -96,9 +96,6 @@ public class PhoneAuthenticationProvider extends AbstractAuthenticationProvider
 			if (user == null) {
 				throw new LockedException("用户不存在");
 			}
-			if (isRegister == true) {
-				throw new LockedException("用户已存在,请登录");
-			}
 			if (StringUtils.isNotBlank(deviceNum) && !StringUtils.equals("STUDENT", clientId)) {
 				// 检查设备
 				try {