Changeset 3584 for trunk/modules/auth

Show
Ignore:
Timestamp:
10/10/2008 04:08:11 PM (8 weeks ago)
Author:
Shadowhand
Message:

Fixing a bug in the Auth user model login() method that would prevent logins using email addresses.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/auth/classes/model/auth/user.php

    r3583 r3584  
    5252                $array = Validation::factory($array) 
    5353                        ->pre_filter('trim') 
    54                         ->add_rules('username', 'required', 'length[4,32]', 'chars[a-zA-Z0-9_.]') 
     54                        ->add_rules('username', 'required', 'length[4,127]') 
    5555                        ->add_rules('password', 'required', 'length[5,42]'); 
    5656