Skip to content
Browse files

Merge branch 'MDL-31629-MOODLE_23_STABLE' of git://github.com/micaher…

…ne/moodle into MOODLE_23_STABLE
  • Loading branch information...
2 parents a7e956b + c034e59 commit b733b0ac71b830707465a0245e547b6b6c7b7af8 Sam Hemelryk committed Nov 6, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 auth/shibboleth/index.php
View
6 auth/shibboleth/index.php
@@ -25,7 +25,7 @@
// Check whether Shibboleth is configured properly
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
@@ -92,9 +92,9 @@
// If we can find any (user independent) Shibboleth attributes but no user
// attributes we probably didn't receive any user attributes
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 {
- print_error('shib_not_set_up_error', 'auth');
+ print_error('shib_not_set_up_error', 'auth_shibboleth');
}

0 comments on commit b733b0a

Please sign in to comment.
Something went wrong with that request. Please try again.