[Rt-commit] rt branch 5.0/add-auth-token-callbacks created. rt-5.0.2-10-g244128cfbf

BPS Git Server git at git.bestpractical.com
Wed Sep 22 14:15:55 UTC 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/add-auth-token-callbacks has been created
        at  244128cfbfabf4c8c2d432bc96858e91d22c1133 (commit)

- Log -----------------------------------------------------------------
commit 244128cfbfabf4c8c2d432bc96858e91d22c1133
Author: Steven Burr <steve at bestpractical.com>
Date:   Fri Sep 17 10:13:39 2021 -0400

    Add callbacks to allow customization of AuthTokens page

diff --git a/share/html/Prefs/AuthTokens.html b/share/html/Prefs/AuthTokens.html
index fc2fa58b2d..bb25d193c9 100644
--- a/share/html/Prefs/AuthTokens.html
+++ b/share/html/Prefs/AuthTokens.html
@@ -50,9 +50,11 @@
 <& /Elements/ListActions, actions => \@results &>
 
 <& /Elements/AuthToken/List, %ARGS, Owner => $session{'CurrentUser'}->Id &>
+% $m->callback( CallbackName => 'AfterAuthTokensList', ARGSRef => \%ARGS );
 
 <%INIT>
 my @results = ProcessAuthToken(ARGSRef => \%ARGS);
+$m->callback( CallbackName => 'AfterAuthTokensProcessing', ARGSRef => \%ARGS, Actions => \@results );
 
 MaybeRedirectForResults( Actions => \@results );
 </%INIT>

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


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list