Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-16061 Remove 'username' from the $moodleattributes array.

It doesn't make sense at all (username is not part of the externally mapped
fields) and produces a notice that breaks HTTP headers with debugging enabled.
  • Loading branch information...
commit 1e6da87629605915c4a3ce69af50ed4f5fe58687 1 parent 865d83b
iarenaza authored
View
1  auth/cas/auth.php
@@ -496,7 +496,6 @@ function ldap_attributes () {
}
}
}
- $moodleattributes['username'] = $this->config->user_attribute;
return $moodleattributes;
}
/**
View
1  auth/db/auth.php
@@ -138,7 +138,6 @@ function db_attributes() {
$moodleattributes[$field] = $this->config->{"field_map_$field"};
}
}
- $moodleattributes['username'] = $this->config->fielduser;
return $moodleattributes;
}
View
1  auth/ldap/auth.php
@@ -1660,7 +1660,6 @@ function ldap_attributes () {
}
}
}
- $moodleattributes['username'] = $this->config->user_attribute;
return $moodleattributes;
}
View
1  auth/shibboleth/auth.php
@@ -129,7 +129,6 @@ function get_attributes() {
$moodleattributes[$field] = $configarray["field_map_$field"];
}
}
- $moodleattributes['username'] = $configarray["user_attribute"];
return $moodleattributes;
}
Please sign in to comment.
Something went wrong with that request. Please try again.