File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 137137 "raf" : " ^3.0.0" ,
138138 "run-sequence" : " ^1.1.2" ,
139139 "run-series" : " ^1.1.2" ,
140- "scout-client" : " http://bin.mongodb.org/js/scout-client/v0.1.4 /scout-client-0.1.4 .tar.gz" ,
140+ "scout-client" : " http://bin.mongodb.org/js/scout-client/v0.1.6 /scout-client-0.1.6 .tar.gz" ,
141141 "stream-combiner2" : " ^1.0.2" ,
142142 "uuid" : " ^2.0.1" ,
143143 "vinyl-buffer" : " ^1.0.0" ,
Original file line number Diff line number Diff line change @@ -374,7 +374,14 @@ var ConnectView = View.extend({
374374 onConnectionSelected : function ( model ) {
375375 // If the new model has auth, expand the auth settings container
376376 // and select the correct tab.
377- this . authMethod = model . auth_mechanism ;
377+ // @note (imlucas): gross, but `this.authMethod` is only used
378+ // for managing auth-fields.js so make this pretty when
379+ // there's more time.
380+ if ( model . auth_mechanism === 'MONGODB-CR' ) {
381+ this . authMethod = 'SCRAM-SHA-1' ;
382+ } else {
383+ this . authMethod = model . auth_mechanism ;
384+ }
378385
379386 if ( model . auth_mechanism !== null ) {
380387 this . authOpen = true ;
You can’t perform that action at this time.
0 commit comments