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

raeburn raeburn at source.lon-capa.org
Fri Jul 1 00:05:16 EDT 2022


raeburn		Fri Jul  1 04:05:16 2022 EDT

  Modified files:              
    /loncom/auth	lonroles.pm 
  Log:
  - Bug 6907
    - When loading role after launch via deep link to tiny URL just display 
      "Continue" link.
  
  
Index: loncom/auth/lonroles.pm
diff -u loncom/auth/lonroles.pm:1.365 loncom/auth/lonroles.pm:1.366
--- loncom/auth/lonroles.pm:1.365	Sun Jun 26 04:03:47 2022
+++ loncom/auth/lonroles.pm	Fri Jul  1 04:05:16 2022
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # User Roles Screen
 #
-# $Id: lonroles.pm,v 1.365 2022/06/26 04:03:47 raeburn Exp $
+# $Id: lonroles.pm,v 1.366 2022/07/01 04:05:16 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1040,7 +1040,7 @@
                                         if ($env{'form.ttoken'}) {
                                             $dest .= (($dest =~/\?/)? '&':'?').'ttoken='.$env{'form.ttoken'};
                                         }
-                                        unless ($env{'request.lti.login'}) {
+                                        unless (($env{'request.lti.login'}) || ($env{'request.deeplink.login'})) {
                                             $msg = '<p>'.&mt('Entering [_1] ...',
                                                              $env{'course.'.$cdom.'_'.$cnum.'.description'}).
                                                    '</p>';




More information about the LON-CAPA-cvs mailing list