File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ module.exports = State.extend({
108
108
switch ( action ) {
109
109
case 'new connection clicked' :
110
110
newState = 'NEW_EMPTY' ;
111
- view . authMethod = 'MONGODB ' ;
111
+ view . authMethod = 'NONE ' ;
112
112
view . sslMethod = 'NONE' ;
113
113
view . form . reset ( ) ;
114
114
view . message = '' ;
Original file line number Diff line number Diff line change @@ -148,8 +148,7 @@ var ConnectFormView = FormView.extend({
148
148
// you can pass in a collection here too
149
149
options : enabledAuthOptions ,
150
150
// and pick an item from the collection as the selected one
151
- // @todo thomasr: pick the "model.selected" one (via .find() ?)
152
- value : enabledAuthOptions . get ( 'MONGODB' ) ,
151
+ value : enabledAuthOptions . get ( 'NONE' ) ,
153
152
// here you specify which attribute on the objects in the collection
154
153
// to use for the value returned.
155
154
idAttribute : '_id' ,
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ var ConnectView = View.extend({
47
47
} ,
48
48
authMethod : {
49
49
type : 'string' ,
50
- default : 'MONGODB '
50
+ default : 'NONE '
51
51
} ,
52
52
previousAuthMethod : {
53
53
type : 'string' ,
You can’t perform that action at this time.
0 commit comments