您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

wizardDetectorFilterLogin.js 834B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * Copyright (c) 2015, Arthur Schiwon <blizzz@owncloud.com>
  3. * This file is licensed under the Affero General Public License version 3 or later.
  4. * See the COPYING-README file.
  5. */
  6. OCA = OCA || {};
  7. (function() {
  8. /**
  9. * @classdesc a Port Detector. It executes the auto-detection of the port
  10. * by the ownCloud server, if requirements are met.
  11. *
  12. * @constructor
  13. */
  14. var WizardDetectorFilterLogin = OCA.LDAP.Wizard.WizardDetectorFilterSimpleRequestAbstract.subClass({
  15. init: function() {
  16. this.setTrigger([
  17. 'ldap_loginfilter_username',
  18. 'ldap_loginfilter_email',
  19. 'ldap_loginfilter_attributes'
  20. ]);
  21. this.setTargetKey('ldap_login_filter');
  22. this.runsOnRequest = true;
  23. this.wizardMethod = 'getUserLoginFilter';
  24. }
  25. });
  26. OCA.LDAP.Wizard.WizardDetectorFilterLogin = WizardDetectorFilterLogin;
  27. })();