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

raeburn raeburn at source.lon-capa.org
Mon Oct 25 11:23:34 EDT 2021


raeburn		Mon Oct 25 15:23:34 2021 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  - request.linkprot and request.linkkey only in %env for duration of request.
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.194 loncom/auth/lonacc.pm:1.195
--- loncom/auth/lonacc.pm:1.194	Mon Aug 16 15:25:44 2021
+++ loncom/auth/lonacc.pm	Mon Oct 25 15:23:34 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.194 2021/08/16 15:25:44 raeburn Exp $
+# $Id: lonacc.pm,v 1.195 2021/10/25 15:23:34 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -388,11 +388,10 @@
                 $env{'request.deeplink.login'} = $r->uri;
             }
             if ($env{'request.deeplink.login'}) {
-                &Apache::lonnet::appenv({'request.deeplink.login' => $r->uri});
                 if ($linkprot) {
-                    &Apache::lonnet::appenv({'request.linkprot' => $linkprot});
+                    $env{'request.linkprot'} = $linkprot);
                 } elsif ($linkkey ne '') {
-                    &Apache::lonnet::appenv({'request.linkkey' => $linkkey});
+                    $env{'request.linkkey'} = $linkkey);
                 }
             }
             $env{'request.sso.login'} = 1;




More information about the LON-CAPA-cvs mailing list