--- loncom/interface/domainprefs.pm 2021/10/07 15:51:15 1.388 +++ loncom/interface/domainprefs.pm 2021/11/03 13:49:57 1.389 @@ -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 @@ sub modify_login { $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 @@ sub modify_loadbalancing { } } if ($changes{'curr'}{$balancer}{'cookie'}) { - $resulttext .= '