mirror of
https://github.com/openharmony/applications_admin_provisioning.git
synced 2026-07-01 20:35:17 -04:00
日志明文打印userId,安全编码规范告警处理
Signed-off-by: liuzhang <liuzhang23@h-partners.com>
This commit is contained in:
@@ -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' });
|
||||
|
||||
Reference in New Issue
Block a user