MDL-27953 auth: allowed the LDAP plugin to be manually assigned to uploaded users

This commit is contained in:
Mark Nelson
2013-07-29 17:08:53 +08:00
parent cd08b5c878
commit 574abfafc6
+2 -2
View File
@@ -321,8 +321,8 @@ function uu_process_template_callback($username, $firstname, $lastname, $block)
* @return array type=>name
*/
function uu_supported_auths() {
// only following plugins are guaranteed to work properly
$whitelist = array('manual', 'nologin', 'none', 'email');
// Only the following plugins are guaranteed to work properly.
$whitelist = array('email', 'ldap', 'manual', 'nologin', 'none');
$plugins = get_enabled_auth_plugins();
$choices = array();
foreach ($plugins as $plugin) {