Index: remoting/webapp/crd/js/client_session.js |
diff --git a/remoting/webapp/crd/js/client_session.js b/remoting/webapp/crd/js/client_session.js |
index 8c54cb743eedce5e197e53a30c940b372b61cf1a..f0fa9b4b95417eb6acbc78adfe3688b93a73344f 100644 |
--- a/remoting/webapp/crd/js/client_session.js |
+++ b/remoting/webapp/crd/js/client_session.js |
@@ -408,10 +408,6 @@ remoting.ClientSession.Capability = { |
// Indicates that the client supports 'cast'ing the video stream to a |
// cast-enabled device. |
CAST: 'casting', |
- |
- // When enabled, this capability results in the client informing the host |
- // that it supports Gnubby-based authentication. |
- GNUBBY_AUTH: 'gnubbyAuth' |
}; |
/** |
@@ -1572,8 +1568,7 @@ remoting.ClientSession.prototype.processGnubbyAuthMessage_ = function(data) { |
* @private |
*/ |
remoting.ClientSession.prototype.createGnubbyAuthHandler_ = function() { |
- if (this.hasCapability_(remoting.ClientSession.Capability.GNUBBY_AUTH) && |
- this.mode_ == remoting.ClientSession.Mode.ME2ME) { |
+ if (this.mode_ == remoting.ClientSession.Mode.ME2ME) { |
this.gnubbyAuthHandler_ = new remoting.GnubbyAuthHandler(this); |
// TODO(psj): Move to more generic capabilities mechanism. |
this.sendGnubbyAuthMessage({'type': 'control', 'option': 'auth-v1'}); |