Permalink
Browse files

Merge branch 'MDL-59734-master' of git://github.com/andrewnicols/moodle

  • Loading branch information...
dmonllao committed Aug 7, 2017
2 parents ab96699 + ed7431a commit 7643d75af007f04987674df26324abd9bcd94d42
Showing with 2 additions and 2 deletions.
  1. +1 −1 auth/ldap/auth.php
  2. +1 −1 auth/ldap/tests/plugin_test.php
@@ -928,7 +928,7 @@ function sync_users($do_updates=true) {
$id = user_create_user($user, false);
echo "\t"; print_string('auth_dbinsertuser', 'auth_db', array('name'=>$user->username, 'id'=>$id)); echo "\n";
$euser = $DB->get_record('user', array('id' => $id));
$user = $DB->get_record('user', array('id' => $id));
if (!empty($this->config->forcechangepassword)) {
set_user_preference('auth_forcepasswordchange', 1, $id);
@@ -110,7 +110,7 @@ public function test_auth_ldap() {
set_config('user_attribute', 'cn', 'auth_ldap');
set_config('memberattribute', 'memberuid', 'auth_ldap');
set_config('memberattribute_isdn', 0, 'auth_ldap');
set_config('creators', 'cn=creators,'.$topdn, 'auth_ldap');
set_config('coursecreatorcontext', 'cn=creators,'.$topdn, 'auth_ldap');
set_config('removeuser', AUTH_REMOVEUSER_KEEP, 'auth_ldap');
set_config('field_map_email', 'mail', 'auth_ldap');

0 comments on commit 7643d75

Please sign in to comment.