[Rt-commit] r19909 - rtir/2.5/trunk/etc
ruz at bestpractical.com
ruz at bestpractical.com
Thu Jun 4 19:52:22 EDT 2009
Author: ruz
Date: Thu Jun 4 19:52:22 2009
New Revision: 19909
Modified:
rtir/2.5/trunk/etc/RTIR_Config.pm
Log:
* make proper overriding of WebNoAuthRegexp
Modified: rtir/2.5/trunk/etc/RTIR_Config.pm
==============================================================================
--- rtir/2.5/trunk/etc/RTIR_Config.pm (original)
+++ rtir/2.5/trunk/etc/RTIR_Config.pm Thu Jun 4 19:52:22 2009
@@ -1,7 +1,8 @@
# WebNoAuthRegex - What portion of RT's URLspace should not require
# authentication. Adjust it according to RTIR paths
-Set($WebNoAuthRegex, qr{ /+NoAuth/ }x);
+my $rt_no_auth = RT->Config->Get('WebNoAuthRegex');
+Set($WebNoAuthRegex, qr{ (?: $rt_no_auth | ^/+RTIR/+NoAuth/ ) }x);
# Set the name of the RTIR application.
More information about the Rt-commit
mailing list