[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Sun Oct 10 20:27:15 EDT 2021


raeburn		Mon Oct 11 00:27:15 2021 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - If /adm/login is in use as a landing page to support dual SSO and non-SSO
    login, optional image for SSO button is in /res/$dom/$domconfiguser/login.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1467 loncom/lonnet/perl/lonnet.pm:1.1468
--- loncom/lonnet/perl/lonnet.pm:1.1467	Thu Oct  7 15:51:16 2021
+++ loncom/lonnet/perl/lonnet.pm	Mon Oct 11 00:27:15 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1467 2021/10/07 15:51:16 raeburn Exp $
+# $Id: lonnet.pm,v 1.1468 2021/10/11 00:27:15 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2304,7 +2304,7 @@
 
 sub is_domainimage {
     my ($url) = @_;
-    if ($url=~m-^/+res/+($match_domain)/+\1\-domainconfig/+(img|logo|domlogo)/+[^/]-) {
+    if ($url=~m-^/+res/+($match_domain)/+\1\-domainconfig/+(img|logo|domlogo|login)/+[^/]-) {
         if (&domain($1) ne '') {
             return '1';
         }




More information about the LON-CAPA-cvs mailing list