mirror of
https://github.com/moodle/moodle.git
synced 2025-03-21 08:00:37 +01:00
Merge branch 'master' of https://github.com/eberhardt/moodle
This commit is contained in:
commit
d75bc7ea13
@ -143,7 +143,8 @@ class auth_plugin_shibboleth extends auth_plugin_base {
|
||||
$configarray = (array) $this->config;
|
||||
|
||||
$moodleattributes = array();
|
||||
foreach ($this->userfields as $field) {
|
||||
$userfields = array_merge($this->userfields, $this->get_custom_user_profile_fields());
|
||||
foreach ($userfields as $field) {
|
||||
if (isset($configarray["field_map_$field"])) {
|
||||
$moodleattributes[$field] = $configarray["field_map_$field"];
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ urn:mace:organization2:providerID, Example Organization 2, /Shibboleth.sso/WAYF/
|
||||
|
||||
<?php
|
||||
|
||||
print_auth_lock_options($this->authtype, $user_fields, '<!-- empty help -->', true, false);
|
||||
print_auth_lock_options($this->authtype, $user_fields, '<!-- empty help -->', true, false, $this->get_custom_user_profile_fields());
|
||||
|
||||
?>
|
||||
</table>
|
||||
|
Loading…
x
Reference in New Issue
Block a user