Index: remoting/webapp/crd/js/host_controller.js |
diff --git a/remoting/webapp/crd/js/host_controller.js b/remoting/webapp/crd/js/host_controller.js |
index a697af316786428231de8a985803e1c85671aade..613396946471ca1a6c624bbc5d211e4e388de721 100644 |
--- a/remoting/webapp/crd/js/host_controller.js |
+++ b/remoting/webapp/crd/js/host_controller.js |
@@ -352,7 +352,7 @@ remoting.HostController.prototype.updatePin = function(newPin, onDone, |
return; |
} |
/** @type {string} */ |
- var hostId = config['host_id']; |
+ var hostId = base.getStringAttr(config, 'host_id'); |
that.hostDaemonFacade_.getPinHash(hostId, newPin).then( |
updateDaemonConfigWithHash, remoting.Error.handler(onError)); |
} |