Return to lonauth.pm CVS log | Up to [LON-CAPA] / loncom / auth |
version 1.151, 2018/04/21 21:29:31 | version 1.152, 2018/05/08 15:44:11 |
---|---|
Line 106 sub success { | Line 106 sub success { |
$r->headers_out->add('Set-cookie' => $defaultcookie); | $r->headers_out->add('Set-cookie' => $defaultcookie); |
} | } |
$r->send_http_header; | $r->send_http_header; |
if (ref($form) eq 'HASH') { | |
$form->{'lti.reqcrs'} = $env{'request.lti.reqcrs'}; | |
$form->{'lti.reqrole'} = $env{'request.lti.reqrole'}; | |
$form->{'lti.sourcecrs'} = $env{'request.lti.sourcecrs'}; | |
} | |
&Apache::ltiauth::lti_reqcrs($r,$domain,$form,$username,$domain); | &Apache::ltiauth::lti_reqcrs($r,$domain,$form,$username,$domain); |
return; | return; |
} | } |