[DeviceHome] Don't use temporal samsung account 95/263595/1 accepted/tizen/unified/20210908.011419 submit/tizen/20210902.160009 submit/tizen/20210906.160010 submit/tizen/20210907.004826
authorYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 6 Sep 2021 23:28:39 +0000 (16:28 -0700)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 6 Sep 2021 23:28:39 +0000 (16:28 -0700)
Temporal samsung account is removed.

Change-Id: I772a3b05e46aa1208e7a8eeabdfc75ca0b42bc46
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
device_home/service/service.js

index f03a73e..7463a57 100755 (executable)
@@ -287,10 +287,12 @@ function sendLoginIdAndDeviceName(login_id, device_ip) {
 
 function updateDNSresolver(device_ip) {
   console.log(`${TAG} Server is listening on ${device_ip}:${g.port}`);
-  let login_id = 'stester81@gmail.com';
-  if (is_tv && typeof webapis.mde !== 'undefined')
-    login_id = webapis.mde.getCurrentLoginId();
-  sendLoginIdAndDeviceName(login_id, device_ip);
+  if (is_tv && typeof webapis.mde !== 'undefined') {
+    const login_id = webapis.mde.getCurrentLoginId();
+    sendLoginIdAndDeviceName(login_id, device_ip);
+  } else {
+    console.log(`${TAG} Samsung account isn't available`);
+  }
 }
 
 function comparePincode(req, res, encrypted) {