@@ -263,7 +263,7 @@ function auth_saml_find_authinstance($saml_attributes) {
$institutions=array();
// find all the possible institutions/auth instances of type saml
$instances=recordset_to_array(get_recordset_sql("SELECT * FROM {auth_instance_config} aic, {auth_instance} ai WHERE ai.id = aic.instance AND ai.authname = 'saml' AND aic.field = 'institutionattribute'"));
$instances=recordset_to_array(get_recordset_sql("SELECT * FROM {auth_instance_config} aic, {auth_instance} ai WHERE ai.id = aic.instance AND ai.authname = 'saml' AND ai.active = 1 AND aic.field = 'institutionattribute'"));
@@ -43,6 +43,7 @@ $string['authloginmsg2'] = "When you have not chosen a parent authority, enter a
$string['application']='Application';
$string['cantretrievekey']='An error occurred while retrieving the public key from the remote server.<br>Please ensure that the Application and WWW root fields are correct and that networking is enabled on the remote host.';
$string['ssodirection']='SSO direction';
$string['active']='Active';
$string['errorcertificateinvalidwwwroot']='This certificate claims to be for %s, but you are trying to use it for %s.';
$string['errorcouldnotgeneratenewsslkey']='Could not generate a new SSL key. Are you sure that both openssl and the PHP module for openssl are installed on this machine?';
@@ -247,6 +247,8 @@ $string['accesstotallydenied_institutionsuspended'] = 'Your institution %s has b
Please contact your institution for help.';
$string['accesstotallydenied_institutionexpired']='Your institution %s has expired. Until it is unexpired, you will not be able to log in to %s.
Please contact your institution for help.';
$string['accesstotallydenied_institutioninactive']='Your institution %s authenticcation method is inactive. Until it is made active, you will not be able to log in to %s.
Please contact your institution for help.';
$string['accessforbiddentoadminsection']='You are forbidden from accessing the administration section.';
$string['accountdeleted']='Sorry, your account has been deleted. You can <a href="%scontact.php">contact the site administrator</a>.';
$string['accountexpired']='Sorry, your account has expired. You can <a href="%scontact.php">contact the site administrator</a> to have it reactivated.';