~ubuntu-branches/ubuntu/saucy/moodle/saucy

« back to all changes in this revision

Viewing changes to admin/tool/uploaduser/locallib.php

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2013-09-09 15:22:35 UTC
  • mfrom: (1.1.17) (3.1.29 sid)
  • Revision ID: package-import@ubuntu.com-20130909152235-f5g7gphaseb84qeu
Tags: 2.5.2-1
* New upstream version: 2.5.2.
  - Incorporates S3 security patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
321
321
 * @return array type=>name
322
322
 */
323
323
function uu_supported_auths() {
324
 
    // only following plugins are guaranteed to work properly
325
 
    $whitelist = array('manual', 'nologin', 'none', 'email');
 
324
    // Only the following plugins are guaranteed to work properly.
 
325
    $whitelist = array('email', 'ldap', 'manual', 'nologin', 'none');
326
326
    $plugins = get_enabled_auth_plugins();
327
327
    $choices = array();
328
328
    foreach ($plugins as $plugin) {