日志明文打印userId,安全编码规范告警处理

Signed-off-by: liuzhang <liuzhang23@h-partners.com>
This commit is contained in:
liuzhang
2025-07-23 16:29:58 +08:00
parent d1600eeb41
commit 7542661138
2 changed files with 0 additions and 2 deletions
@@ -31,7 +31,6 @@ export class AccountManager {
return false;
}
userId.localId = accountInfo.localId;
logger.info(TAG, 'getAccountUserId accountInfo.localId=' + accountInfo.localId);
return true;
}
}
@@ -120,7 +120,6 @@ struct LoadingInfo {
let userId: UserId = { localId: 0 };
let retVal = await accountManager.getAccountUserId(userId);
logger.info(TAG, 'getAccountUserId retVal : ' + retVal);
logger.info(TAG, 'getAccountUserId userId : ' + userId.localId);
if (!retVal || userId.localId !== baseData.DEFAULT_USER_ID) {
logger.info(TAG, 'getAccountUserId fail');
router.pushUrl({ url: 'pages/autoManager/setFinishFail' });