[LON-CAPA-cvs] cvs: loncom /auth lonauth.pm
raeburn
raeburn at source.lon-capa.org
Sun Jun 16 18:32:05 EDT 2019
raeburn Sun Jun 16 22:32:05 2019 EDT
Modified files:
/loncom/auth lonauth.pm
Log:
- Include lti.login in form vars when new course needs to be created for
instructor launch from LTI Consumer when URL is /adm/lti
Index: loncom/auth/lonauth.pm
diff -u loncom/auth/lonauth.pm:1.157 loncom/auth/lonauth.pm:1.158
--- loncom/auth/lonauth.pm:1.157 Sun Jan 27 16:02:43 2019
+++ loncom/auth/lonauth.pm Sun Jun 16 22:32:04 2019
@@ -1,7 +1,7 @@
# The LearningOnline Network
# User Authentication Module
#
-# $Id: lonauth.pm,v 1.157 2019/01/27 16:02:43 raeburn Exp $
+# $Id: lonauth.pm,v 1.158 2019/06/16 22:32:04 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -108,6 +108,7 @@
}
$r->send_http_header;
if (ref($form) eq 'HASH') {
+ $form->{'lti.login'} = $env{'request.lti.login'};
$form->{'lti.reqcrs'} = $env{'request.lti.reqcrs'};
$form->{'lti.reqrole'} = $env{'request.lti.reqrole'};
$form->{'lti.sourcecrs'} = $env{'request.lti.sourcecrs'};
More information about the LON-CAPA-cvs
mailing list