Skip to content

Commit 1853829

Browse files
committed
:style: move X509 definition down in file to match selection UI
1 parent b916917 commit 1853829

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/connect/authentication.js

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -84,23 +84,6 @@ var KERBEROS = {
8484
]
8585
};
8686

87-
var X509 = {
88-
_id: 'X509',
89-
title: 'X.509',
90-
// @todo (imlucas) Fix `app.isFeatureEnabled` is not a function.
91-
// enabled: app.isFeatureEnabled('Connect with X.509'),
92-
enabled: false,
93-
fields: [
94-
new InputView({
95-
template: inputTemplate,
96-
name: 'x509_username',
97-
label: 'Username',
98-
placeholder: '',
99-
required: true
100-
})
101-
]
102-
};
103-
10487
var LDAP = {
10588
_id: 'LDAP',
10689
title: 'LDAP',
@@ -126,6 +109,23 @@ var LDAP = {
126109
]
127110
};
128111

112+
var X509 = {
113+
_id: 'X509',
114+
title: 'X.509',
115+
// @todo (imlucas) Fix `app.isFeatureEnabled` is not a function.
116+
// enabled: app.isFeatureEnabled('Connect with X.509'),
117+
enabled: false,
118+
fields: [
119+
new InputView({
120+
template: inputTemplate,
121+
name: 'x509_username',
122+
label: 'Username',
123+
placeholder: '',
124+
required: true
125+
})
126+
]
127+
};
128+
129129
var allAuthModes = [
130130
NONE,
131131
MONGODB,

0 commit comments

Comments
 (0)