| Index: remoting/webapp/host_controller.js
|
| diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js
|
| index 80870ac79f495f60c033fe08ff3ff3b28876e026..0718389f45223ae7dcd32757db0c5d6116994e2a 100644
|
| --- a/remoting/webapp/host_controller.js
|
| +++ b/remoting/webapp/host_controller.js
|
| @@ -152,7 +152,7 @@ remoting.HostController.prototype.start = function(hostPin, callback) {
|
|
|
| if (success) {
|
| var hostSecretHash =
|
| - 'hmac:' + that.plugin_.getPinHash(newHostId, hostPin);
|
| + that.plugin_.getPinHash(newHostId, hostPin);
|
| var hostConfig = JSON.stringify({
|
| xmpp_login: remoting.oauth2.getCachedEmail(),
|
| oauth_refresh_token: remoting.oauth2.exportRefreshToken(),
|
| @@ -274,7 +274,7 @@ remoting.HostController.prototype.updatePin = function(newPin, callback) {
|
| }
|
| var hostId = config['host_id'];
|
| var newConfig = JSON.stringify({
|
| - host_secret_hash: 'hmac:' + that.plugin_.getPinHash(hostId, newPin)
|
| + host_secret_hash: that.plugin_.getPinHash(hostId, newPin)
|
| });
|
| that.plugin_.updateDaemonConfig(newConfig, callback);
|
| };
|
|
|