Skip to content

Commit

Permalink
Merge branch 'MDL-31629-MOODLE_22_STABLE' of git://github.com/micaher…
Browse files Browse the repository at this point in the history
…ne/moodle into MOODLE_22_STABLE
  • Loading branch information
Sam Hemelryk committed Nov 5, 2012
2 parents 9cbc519 + 8c26d6d commit 3e8532d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions auth/shibboleth/index.php
Expand Up @@ -25,7 +25,7 @@


// Check whether Shibboleth is configured properly // Check whether Shibboleth is configured properly
if (empty($pluginconfig->user_attribute)) { if (empty($pluginconfig->user_attribute)) {
print_error('shib_not_set_up_error', 'auth'); print_error('shib_not_set_up_error', 'auth_shibboleth');
} }


/// If we can find the Shibboleth attribute, save it in session and return to main login page /// If we can find the Shibboleth attribute, save it in session and return to main login page
Expand Down Expand Up @@ -91,9 +91,9 @@
// If we can find any (user independent) Shibboleth attributes but no user // If we can find any (user independent) Shibboleth attributes but no user
// attributes we probably didn't receive any user attributes // attributes we probably didn't receive any user attributes
elseif (!empty($_SERVER['HTTP_SHIB_APPLICATION_ID']) || !empty($_SERVER['Shib-Application-ID'])) { elseif (!empty($_SERVER['HTTP_SHIB_APPLICATION_ID']) || !empty($_SERVER['Shib-Application-ID'])) {
print_error('shib_no_attributes_error', 'auth' , '', '\''.$pluginconfig->user_attribute.'\', \''.$pluginconfig->field_map_firstname.'\', \''.$pluginconfig->field_map_lastname.'\' and \''.$pluginconfig->field_map_email.'\''); print_error('shib_no_attributes_error', 'auth_shibboleth' , '', '\''.$pluginconfig->user_attribute.'\', \''.$pluginconfig->field_map_firstname.'\', \''.$pluginconfig->field_map_lastname.'\' and \''.$pluginconfig->field_map_email.'\'');
} else { } else {
print_error('shib_not_set_up_error', 'auth'); print_error('shib_not_set_up_error', 'auth_shibboleth');
} }




0 comments on commit 3e8532d

Please sign in to comment.