From 0937c0a4ebeb8d99cf0b973741fd6569771431c3 Mon Sep 17 00:00:00 2001 From: singa2000 Date: Wed, 13 Oct 2021 17:09:43 +0900 Subject: [PATCH] [DeviceHome] Remove the pincode log It display the pincode in the console log. So it remove. Change-Id: I7a24277e7415b901f0259caca2e09dfcd0bf5b10 Signed-off-by: singa2000 --- device_home/service/service.js | 1 - 1 file changed, 1 deletion(-) diff --git a/device_home/service/service.js b/device_home/service/service.js index bd4aeb5..8660d97 100755 --- a/device_home/service/service.js +++ b/device_home/service/service.js @@ -302,7 +302,6 @@ function comparePincode(req, res, encrypted) { const decrypt = new JSEncryptLib(); decrypt.setPrivateKey(req.session.serverPrivateKey); const decrypted = decrypt.decrypt(encrypted); - console.log(`${TAG} decrypted : ${decrypted}`); const pincode_passed = decrypted === req.session.pincode ? true : false; console.log(`${TAG} pincode result : ${pincode_passed}`); -- 2.7.4