X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FNoAuth%2FLogout.html;h=beee12955a3e5072f50ea9633cea215052853cc4;hb=44dd00a3ff974a17999e86e64488e996edc71e3c;hp=20024ccecdaf7a9d62bedc8bb00056b867954852;hpb=a6fe07e49e3fc12169e801b1ed6874c3a5bd8500;p=freeside.git diff --git a/rt/share/html/NoAuth/Logout.html b/rt/share/html/NoAuth/Logout.html index 20024ccec..beee12955 100755 --- a/rt/share/html/NoAuth/Logout.html +++ b/rt/share/html/NoAuth/Logout.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2019 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -71,12 +71,12 @@ my $URL = RT->Config->Get('WebPath')."/"; # Allow a callback to modify the URL we redirect to, which is useful for # external webauth systems -$m->callback( %ARGS, URL => \$URL ); +$m->callback( %ARGS, CallbackName => 'ModifyLoginRedirect', URL => \$URL ); $m->callback( %ARGS, CallbackName => 'BeforeSessionDelete' ); if (keys %session) { - tied(%session)->delete; + RT::Interface::Web::InstantiateNewSession(); $session{'CurrentUser'} = RT::CurrentUser->new; }