--- loncom/auth/lonauth.pm 2022/06/30 21:04:13 1.176 +++ loncom/auth/lonauth.pm 2022/08/24 20:58:50 1.177 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.176 2022/06/30 21:04:13 raeburn Exp $ +# $Id: lonauth.pm,v 1.177 2022/08/24 20:58:50 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -47,7 +47,7 @@ use CGI::Cookie(); # ------------------------------------------------------------ Successful login sub success { my ($r, $username, $domain, $authhost, $lowerurl, $extra_env, - $form,$skipcritical,$cid,$expirepub) = @_; + $form,$skipcritical,$cid,$expirepub,$write_to_opener) = @_; # ------------------------------------------------------------ Get cookie ready my $cookie = @@ -280,7 +280,7 @@ ENDJS } $start_page=&Apache::loncommon::start_page('',$js,$args); } else { - $args->{'redirect'} = [0,$destination]; + $args->{'redirect'} = [0,$destination,'',$write_to_opener]; $start_page=&Apache::loncommon::start_page('Successful Login', $js,$args); unless ($env{'request.linkprot'}) {