[Rt-commit] rt branch, master, updated. rt-4.0.7-327-gd9d2de8

Kevin Falcone falcone at bestpractical.com
Fri Oct 19 11:07:38 EDT 2012


The branch, master has been updated
       via  d9d2de825f4368d01d15bccd87cc54239a5025ca (commit)
      from  84d6b5279792b16d6e85b403e1dc88c1c9edfa20 (commit)

Summary of changes:
 share/html/NoAuth/Logout.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit d9d2de825f4368d01d15bccd87cc54239a5025ca
Author: Paul Tomblin <ptomblin at xcski.com>
Date:   Sat Sep 1 14:04:37 2012 -0400

    Add a name to one of the two "Default" callbacks in Logout
    
    There were two callbacks in the Logout.html page with no CallbackName (so
    they both defaulted to "Default") set, one of which had a URL reference
    argument.  This patch gives a callback name to the one with the URL
    reference argument to disambiguate them.

diff --git a/share/html/NoAuth/Logout.html b/share/html/NoAuth/Logout.html
index 20024cc..0b17d50 100755
--- a/share/html/NoAuth/Logout.html
+++ b/share/html/NoAuth/Logout.html
@@ -71,7 +71,7 @@ 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' );
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list