X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FREST%2F1.0%2Flogout;h=ac94cbebf5421d5bd9b45fa3e1e762df3f01bfb1;hb=9ce482da3960ee43decee41fba53b78c12c3e52c;hp=660c1233793fbd34216c87a8fe4a29595efbe18d;hpb=43a06151e47d2c59b833cbd8c26d97865ee850b6;p=freeside.git diff --git a/rt/share/html/REST/1.0/logout b/rt/share/html/REST/1.0/logout index 660c12337..ac94cbebf 100755 --- a/rt/share/html/REST/1.0/logout +++ b/rt/share/html/REST/1.0/logout @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -46,6 +46,9 @@ %# %# END BPS TAGGED BLOCK }}} <%PERL> -tied(%session)->delete if keys %session; +if (keys %session) { + RT::Interface::Web::InstantiateNewSession(); + $session{CurrentUser} = RT::CurrentUser->new(); +} RT/<% $RT::VERSION %> 200 Ok