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 137
137
"raf" : " ^3.0.0" ,
138
138
"run-sequence" : " ^1.1.2" ,
139
139
"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" ,
141
141
"stream-combiner2" : " ^1.0.2" ,
142
142
"uuid" : " ^2.0.1" ,
143
143
"vinyl-buffer" : " ^1.0.0" ,
Original file line number Diff line number Diff line change @@ -374,7 +374,14 @@ var ConnectView = View.extend({
374
374
onConnectionSelected : function ( model ) {
375
375
// If the new model has auth, expand the auth settings container
376
376
// 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
+ }
378
385
379
386
if ( model . auth_mechanism !== null ) {
380
387
this . authOpen = true ;
You can’t perform that action at this time.
0 commit comments