Index: remoting/webapp/host_controller.js |
diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js |
index 2b41096845b2d3c9ff99acc73ba7580b6f33a12c..867967482e1391e01ef7efb26a6ac8b6d0fba6cf 100644 |
--- a/remoting/webapp/host_controller.js |
+++ b/remoting/webapp/host_controller.js |
@@ -156,7 +156,7 @@ remoting.HostController.prototype.start = function(hostPin, callback) { |
'hmac:' + that.plugin_.getPinHash(newHostId, hostPin); |
var hostConfig = JSON.stringify({ |
xmpp_login: remoting.oauth2.getCachedEmail(), |
- oauth_refresh_token: remoting.oauth2.getRefreshToken(), |
+ oauth_refresh_token: remoting.oauth2.exportRefreshToken(), |
host_id: newHostId, |
host_name: hostName, |
host_secret_hash: hostSecretHash, |