[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-160-g4658be3
sartak at bestpractical.com
sartak at bestpractical.com
Tue Feb 16 16:45:52 EST 2010
The branch, 3.8-trunk has been updated
via 4658be309b346f9f9af2123cf70a92fc3865d71d (commit)
from 4c69a83253157680018b6d0b81791a6a51bbaf9f (commit)
Summary of changes:
etc/RT_Config.pm.in | 10 ++++++++++
share/html/NoAuth/Logout.html | 2 +-
2 files changed, 11 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 4658be309b346f9f9af2123cf70a92fc3865d71d
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Feb 16 16:45:35 2010 -0500
LogoutRefresh config for controlling how long to wait before going back to login
diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index 5d9607e..a04ba95 100755
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1195,6 +1195,16 @@ to RT for the defined time.
Set($AutoLogoff, 0);
+=item C<$LogoutRefresh>
+
+The number of seconds to wait after logout before sending the user to the
+login page. By default, 1 second, though you may want to increase this if
+you display additional information on the logout page.
+
+=cut
+
+Set($LogoutRefresh, 1);
+
=item C<$WebSecureCookies>
By default, RT's session cookie isn't marked as "secure" Some web browsers
diff --git a/share/html/NoAuth/Logout.html b/share/html/NoAuth/Logout.html
index 5a70277..9f01aa2 100755
--- a/share/html/NoAuth/Logout.html
+++ b/share/html/NoAuth/Logout.html
@@ -45,7 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<& /Elements/Header, Title => loc('Logout'), Refresh => "1;URL=$URL" &>
+<& /Elements/Header, Title => loc('Logout'), Refresh => RT->Config->Get('LogoutRefresh').";URL=$URL" &>
</div>
<div id="body" class="login-body">
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list