File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed
apps/meteor/ee/server/api Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -125,35 +125,3 @@ API.v1.post(
125125 } ) ;
126126 } ,
127127) ;
128-
129- // API.v1.addRoute(
130- // 'ldap.syncNow',
131- // {
132- // authRequired: true,
133- // forceTwoFactorAuthenticationForNonEnterprise: true,
134- // twoFactorRequired: true,
135- // // license: ['ldap-enterprise'],
136- // },
137- // {
138- // async post() {
139- // if (!this.userId) {
140- // throw new Error('error-invalid-user');
141- // }
142-
143- // if (!(await hasPermissionAsync(this.userId, 'sync-auth-services-users'))) {
144- // throw new Error('error-not-authorized');
145- // }
146-
147- // if (settings.get('LDAP_Enable') !== true) {
148- // throw new Error('LDAP_disabled');
149- // }
150-
151- // await LDAPEE.sync();
152- // await LDAPEE.syncAvatars();
153-
154- // return API.v1.success({
155- // message: 'Sync_in_progress' as const,
156- // });
157- // },
158- // },
159- // );
You can’t perform that action at this time.
0 commit comments