邮箱-重置密码-兼容未登录重置
This commit is contained in:
@@ -412,7 +412,7 @@ public class AccountManageService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Account account = accountService.getAccountByEmail(email);
|
Account account = accountService.getAccountByEmail(email);
|
||||||
if (null == account || !account.getUid().equals(uid)) {
|
if (null == account || (null != uid && !account.getUid().equals(uid))) {
|
||||||
throw new ServiceException(BusiStatus.PHONE_BIND_ERROR);
|
throw new ServiceException(BusiStatus.PHONE_BIND_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user