|
@@ -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 {
|