Permalink
Browse files

Merge branch 'MDL-61260_34' of git://github.com/markn86/moodle into M…

…OODLE_34_STABLE
  • Loading branch information...
dmonllao authored and snake committed Jan 29, 2018
2 parents e44cedd + 8dcd8b8 commit a9c01e8c525cc24af7021d7312b478f93fb75ca1
Showing with 3 additions and 1 deletion.
  1. +3 −1 auth/ldap/auth.php
@@ -1183,7 +1183,9 @@ private function is_role($username, $role) {
*
*/
function user_update($olduser, $newuser) {
global $USER;
global $CFG;
require_once($CFG->dirroot . '/user/profile/lib.php');
if (isset($olduser->username) and isset($newuser->username) and $olduser->username != $newuser->username) {
error_log($this->errorlogtag.get_string('renamingnotallowed', 'auth_ldap'));

0 comments on commit a9c01e8

Please sign in to comment.