--- loncom/auth/lonauth.pm 2021/12/30 06:00:16 1.121.2.24.2.1 +++ loncom/auth/lonauth.pm 2022/02/24 14:42:30 1.121.2.24.2.2 @@ -1,7 +1,7 @@ # The LearningOnline Network # User Authentication Module # -# $Id: lonauth.pm,v 1.121.2.24.2.1 2021/12/30 06:00:16 raeburn Exp $ +# $Id: lonauth.pm,v 1.121.2.24.2.2 2022/02/24 14:42:30 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -163,6 +163,11 @@ sub success { $destination .= (($destination =~ /\?/) ? '&' : '?') . 'ttoken='.$token; } } + if ($env{'request.deeplink.login'}) { + if ($env{'environment.remote'} eq 'on') { + &Apache::lonnet::appenv({'environment.remote' => 'off'}); + } + } my $windowinfo=&Apache::lonmenu::open($env{'browser.os'}); my $startupremote=&Apache::lonmenu::startupremote($destination);