--- loncom/auth/lonlogout.pm 2020/12/18 15:23:03 1.57 +++ loncom/auth/lonlogout.pm 2022/05/24 16:23:04 1.58 @@ -1,7 +1,7 @@ # The LearningOnline Network # Logout Handler # -# $Id: lonlogout.pm,v 1.57 2020/12/18 15:23:03 raeburn Exp $ +# $Id: lonlogout.pm,v 1.58 2022/05/24 16:23:04 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -186,7 +186,8 @@ sub handler { ($env{'request.sso.login'} ? 'roles': 'login?domain='.$domain); } $relogmessage.='
'.&mt('You have been successfully logged out.'); - unless (($env{'request.lti.login'}) && ($env{'request.lti.target'} eq 'iframe')) { + unless ((($env{'request.lti.login'}) && ($env{'request.lti.target'} eq 'iframe')) || + (($env{'request.deeplink.login'}) && ($env{'request.deeplink.target'} eq '_self'))) { $relogmessage.=' '.&mt('You can [_1]close this window[_2] now.', '',''); # ,'',''); }