[Rt-commit] r15974 - in rt/branches/3.999-DANGEROUS: lib/RT
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Sep 15 08:21:52 EDT 2008
Author: sunnavy
Date: Mon Sep 15 08:21:49 2008
New Revision: 15974
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm
Log:
r16709 at sunnavys-mb: sunnavy | 2008-09-15 20:19:28 +0800
seems better to use WebNoAuthRegex
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm Mon Sep 15 08:21:49 2008
@@ -110,6 +110,7 @@
before qr'^/(?!login)' => run {
tangent '/login'
unless ( Jifty->web->current_user->id
+ || Jifty->web->request->path =~ RT->config->get('WebNoAuthRegex')
|| Jifty->web->request->path =~ m{^/Elements/Header$}
|| Jifty->web->request->path =~ m{^/Elements/Footer$}
|| Jifty->web->request->path =~ m{^/Elements/Logo$}
More information about the Rt-commit
mailing list