[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /auth lonlogout.pm

raeburn raeburn at source.lon-capa.org
Sat Nov 19 14:10:34 EST 2011


raeburn		Sat Nov 19 19:10:34 2011 EDT

  Modified files:              (Branch: version_2_10_X)
    /loncom/auth	lonlogout.pm 
  Log:
  - Backport 1.43.
  
  
Index: loncom/auth/lonlogout.pm
diff -u loncom/auth/lonlogout.pm:1.42.2.1 loncom/auth/lonlogout.pm:1.42.2.2
--- loncom/auth/lonlogout.pm:1.42.2.1	Sun Oct  2 12:09:57 2011
+++ loncom/auth/lonlogout.pm	Sat Nov 19 19:10:34 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Logout Handler
 #
-# $Id: lonlogout.pm,v 1.42.2.1 2011/10/02 12:09:57 raeburn Exp $
+# $Id: lonlogout.pm,v 1.42.2.2 2011/11/19 19:10:34 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -125,6 +125,9 @@
                      if ($server && $lonhost) {
                          $login_url = $Apache::lonnet::protocol{$lonhost}.
                                       '://'.$server.$path;
+                         if ($path eq '/adm/login' && $domain ne '') {
+                             $login_url .= '?domain='.$domain;
+                         }
                      }
                  }
             }




More information about the LON-CAPA-cvs mailing list