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

raeburn raeburn at source.lon-capa.org
Wed Oct 6 15:41:53 EDT 2021


raeburn		Wed Oct  6 19:41:53 2021 EDT

  Modified files:              
    /loncom/auth	lonlogin.pm 
  Log:
  - $env{'form.firsturl'} not kept if it points at /adm/logout
  
  
Index: loncom/auth/lonlogin.pm
diff -u loncom/auth/lonlogin.pm:1.188 loncom/auth/lonlogin.pm:1.189
--- loncom/auth/lonlogin.pm:1.188	Wed Oct  6 19:28:55 2021
+++ loncom/auth/lonlogin.pm	Wed Oct  6 19:41:53 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Login Screen
 #
-# $Id: lonlogin.pm,v 1.188 2021/10/06 19:28:55 raeburn Exp $
+# $Id: lonlogin.pm,v 1.189 2021/10/06 19:41:53 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -62,6 +62,9 @@
         (!$env{'form.ltoken'}) && (!$env{'form.linkkey'})) {
         &Apache::lonacc::get_posted_cgi($r,['linkkey']);
     }
+    if ($env{'form.firsturl'} eq '/adm/logout') {
+        delete($env{'form.firsturl'});
+    }
 
 # -- check if they are a migrating user
     if (defined($env{'form.token'})) {




More information about the LON-CAPA-cvs mailing list