From c034e59beef142d2e21b19e7f85c48a742184214 Mon Sep 17 00:00:00 2001 From: David Tang Date: Wed, 17 Oct 2012 12:51:25 +0100 Subject: [PATCH] MDL-31629 auth_shibboleth Use correct language string location --- auth/shibboleth/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/auth/shibboleth/index.php b/auth/shibboleth/index.php index a1e4a1c3840..95639a403cb 100644 --- a/auth/shibboleth/index.php +++ b/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 @@ -91,9 +91,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'); }