邮箱-重置密码-兼容未登录重置

This commit is contained in:
khalil
2025-03-19 10:58:50 +08:00
parent 8f058edc58
commit 9d018db6e4

View File

@@ -412,7 +412,7 @@ public class AccountManageService {
}
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);
}