rev 1355 - trunk/siesta/lib/Template/Plugin

[prev] [thread] [next] [lurker] [Date index for 2003/08/14]

From: simon
Subject: rev 1355 - trunk/siesta/lib/Template/Plugin
Date: 15:43 on 14 Aug 2003
Author: simon
Date: 2003-08-14 15:43:47 +0100 (Thu, 14 Aug 2003)
New Revision: 1355

Modified:
   trunk/siesta/lib/Template/Plugin/Siesta.pm
Log:
Stop arbitary limit on username length


Modified: trunk/siesta/lib/Template/Plugin/Siesta.pm
===================================================================
--- trunk/siesta/lib/Template/Plugin/Siesta.pm	2003-08-14 14:43:18 UTC (rev 1354)
+++ trunk/siesta/lib/Template/Plugin/Siesta.pm	2003-08-14 14:43:47 UTC (rev 1355)
@@ -130,7 +130,7 @@
 
 sub ACTION_login {
     my $self = shift;
-    my ($email) = $self->_getParam('email', '(\S{6,40})' );
+    my ($email) = $self->_getParam('email', '(\S+)' );
     my ($pass) =  $self->_getParam('pass',  '(\S+)' );
 
     my $user = Siesta::Member->load( $email ) or return;

Generated at 13:57 on 01 Jul 2004 by mariachi 0.52