--- loncom/auth/lonauth.pm 2018/03/23 01:01:29 1.149 +++ loncom/auth/lonauth.pm 2018/04/14 02:30:11 1.150 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.149 2018/03/23 01:01:29 raeburn Exp $ +# $Id: lonauth.pm,v 1.150 2018/04/14 02:30:11 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -160,7 +160,11 @@ sub success { $destination .= 'source=login'; } - my $windowinfo = Apache::lonhtmlcommon::scripttag('self.name="loncapaclient";'); + my $windowname = 'loncapaclient'; + if ($env{'request.lti.login'}) { + $windowname .= 'lti'; + } + my $windowinfo = Apache::lonhtmlcommon::scripttag('self.name="'.$windowname.'";'); my $header = ''; my $brcrum = [{'href' => '', 'text' => 'Successful Login'},];