[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm
raeburn
raeburn at source.lon-capa.org
Wed Nov 3 09:49:57 EDT 2021
raeburn Wed Nov 3 13:49:57 2021 EDT
Modified files:
/loncom/interface domainprefs.pm
Log:
- Discontinuation of dual SSO and non-SSO login for a server shown as a change.
- Correct output when use of balancer cookie changed from "Yes" to "No".
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.388 loncom/interface/domainprefs.pm:1.389
--- loncom/interface/domainprefs.pm:1.388 Thu Oct 7 15:51:15 2021
+++ loncom/interface/domainprefs.pm Wed Nov 3 13:49:57 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set domain-wide configuration settings
#
-# $Id: domainprefs.pm,v 1.388 2021/10/07 15:51:15 raeburn Exp $
+# $Id: domainprefs.pm,v 1.389 2021/11/03 13:49:57 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -11745,7 +11745,10 @@
$currsaml{$lonhost}{$item} = $env{'form.saml_'.$item.'_'.$lonhost};
}
} else {
- delete($currsaml{$lonhost});
+ if ($saml{$lonhost}) {
+ $changes{'saml'}{$lonhost} = 1;
+ delete($currsaml{$lonhost});
+ }
}
}
foreach my $posshost (keys(%currsaml)) {
@@ -21521,8 +21524,13 @@
}
}
if ($changes{'curr'}{$balancer}{'cookie'}) {
- $resulttext .= '<li>'.&mt('Load Balancer: [_1] -- cookie use enabled',
- $balancer).'</li>';
+ if ($currcookies{$balancer}) {
+ $resulttext .= '<li>'.&mt('Load Balancer: [_1] -- cookie use disabled',
+ $balancer).'</li>';
+ } else {
+ $resulttext .= '<li>'.&mt('Load Balancer: [_1] -- cookie use enabled',
+ $balancer).'</li>';
+ }
}
}
}
More information about the LON-CAPA-cvs
mailing list