diff --git a/package.json b/package.json index 70b9ac6bad1..4a747246303 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,7 @@ "raf": "^3.0.0", "run-sequence": "^1.1.2", "run-series": "^1.1.2", - "scout-client": "http://bin.mongodb.org/js/scout-client/v0.1.4/scout-client-0.1.4.tar.gz", + "scout-client": "http://bin.mongodb.org/js/scout-client/v0.1.6/scout-client-0.1.6.tar.gz", "stream-combiner2": "^1.0.2", "uuid": "^2.0.1", "vinyl-buffer": "^1.0.0", diff --git a/src/connect/index.js b/src/connect/index.js index 640ae2aa6c0..7003d8444e0 100644 --- a/src/connect/index.js +++ b/src/connect/index.js @@ -374,7 +374,14 @@ var ConnectView = View.extend({ onConnectionSelected: function(model) { // If the new model has auth, expand the auth settings container // and select the correct tab. - this.authMethod = model.auth_mechanism; + // @note (imlucas): gross, but `this.authMethod` is only used + // for managing auth-fields.js so make this pretty when + // there's more time. + if (model.auth_mechanism === 'MONGODB-CR') { + this.authMethod = 'SCRAM-SHA-1'; + } else { + this.authMethod = model.auth_mechanism; + } if (model.auth_mechanism !== null) { this.authOpen = true;