Skip to content

Commit 6ae03f6

Browse files
committed
INT-812 make None the default authentication method
1 parent e2021b5 commit 6ae03f6

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/connect/behavior.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ module.exports = State.extend({
108108
switch (action) {
109109
case 'new connection clicked':
110110
newState = 'NEW_EMPTY';
111-
view.authMethod = 'MONGODB';
111+
view.authMethod = 'NONE';
112112
view.sslMethod = 'NONE';
113113
view.form.reset();
114114
view.message = '';

src/connect/connect-form-view.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,7 @@ var ConnectFormView = FormView.extend({
148148
// you can pass in a collection here too
149149
options: enabledAuthOptions,
150150
// 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'),
153152
// here you specify which attribute on the objects in the collection
154153
// to use for the value returned.
155154
idAttribute: '_id',

src/connect/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var ConnectView = View.extend({
4747
},
4848
authMethod: {
4949
type: 'string',
50-
default: 'MONGODB'
50+
default: 'NONE'
5151
},
5252
previousAuthMethod: {
5353
type: 'string',

0 commit comments

Comments
 (0)