[Rt-commit] r15973 - in rt/branches/3.999-DANGEROUS: lib/RT
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Sep 15 08:21:25 EDT 2008
Author: sunnavy
Date: Mon Sep 15 08:21:24 2008
New Revision: 15973
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm
Log:
r16708 at sunnavys-mb: sunnavy | 2008-09-15 20:18:08 +0800
login by username instead of email now
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:24 2008
@@ -98,7 +98,7 @@
moniker => 'login',
class => 'Login',
arguments => {
- email => Jifty->web->request->arguments->{'user'},
+ username => Jifty->web->request->arguments->{'user'},
password => Jifty->web->request->arguments->{'pass'}
}
)->run
@@ -110,7 +110,6 @@
before qr'^/(?!login)' => run {
tangent '/login'
unless ( Jifty->web->current_user->id
- || Jifty->web->request->path =~ m{^/NoAuth}
|| 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