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

raeburn lon-capa-cvs@mail.lon-capa.org
Fri, 12 Jan 2007 15:54:12 -0000


raeburn		Fri Jan 12 10:54:12 2007 EDT

  Modified files:              
    /loncom/auth	lonlogout.pm 
  Log:
  Better if protocol (http:// or https://)  is included in lonSSOReloginServer defined in conf file.
  
  
Index: loncom/auth/lonlogout.pm
diff -u loncom/auth/lonlogout.pm:1.23 loncom/auth/lonlogout.pm:1.24
--- loncom/auth/lonlogout.pm:1.23	Fri Jan 12 10:44:27 2007
+++ loncom/auth/lonlogout.pm	Fri Jan 12 10:54:12 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Logout Handler
 #
-# $Id: lonlogout.pm,v 1.23 2007/01/12 15:44:27 raeburn Exp $
+# $Id: lonlogout.pm,v 1.24 2007/01/12 15:54:12 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -93,7 +93,7 @@
 					   'or' => 'or');
         my $relogin_server;
         if ($env{'request.sso.reloginserver'}) {
-            $relogin_server = 'http://'.$env{'request.sso.reloginserver'};
+            $relogin_server = $env{'request.sso.reloginserver'};
         }
 	my $login_url = $relogin_server.'/adm/'.
                         ($env{'request.sso.login'} ? 'roles': 'login');