projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of https://github.com/jgoodman/Freeside
[freeside.git]
/
rt
/
share
/
html
/
NoAuth
/
Logout.html
diff --git
a/rt/share/html/NoAuth/Logout.html
b/rt/share/html/NoAuth/Logout.html
index
103ae4f
..
4095269
100755
(executable)
--- a/
rt/share/html/NoAuth/Logout.html
+++ b/
rt/share/html/NoAuth/Logout.html
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
1
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
4
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-45,7
+45,7
@@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc('Logout'), Refresh => RT->Config->Get('LogoutRefresh')
.";URL=$URL"
&>
+<& /Elements/Header, Title => loc('Logout'), Refresh => RT->Config->Get('LogoutRefresh') &>
</div>
<div id="body" class="login-body">
</div>
<div id="body" class="login-body">
@@
-76,9
+76,10
@@
$m->callback( %ARGS, URL => \$URL );
$m->callback( %ARGS, CallbackName => 'BeforeSessionDelete' );
if (keys %session) {
$m->callback( %ARGS, CallbackName => 'BeforeSessionDelete' );
if (keys %session) {
-
tied(%session)->delete
;
+
RT::Interface::Web::InstantiateNewSession()
;
$session{'CurrentUser'} = RT::CurrentUser->new;
}
$m->callback( %ARGS, CallbackName => 'AfterSessionDelete' );
$session{'CurrentUser'} = RT::CurrentUser->new;
}
$m->callback( %ARGS, CallbackName => 'AfterSessionDelete' );
+$m->notes->{RefreshURL} = $URL;
</%INIT>
</%INIT>