Changeset 22 for trunk/src/includes/editam/models/user.php
- Timestamp:
- 09/21/07 05:04:56 (2 years ago)
- Files:
-
- trunk/src/includes/editam/models/user.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/includes/editam/models/user.php
r2 r22 55 55 $this->needsEmailValidation() ? $this->validatesFormatOf('email', AK_EMAIL_REGULAR_EXPRESSION, $this->t('Invalid email address')) : null; 56 56 $this->validatesLengthOf('login', array('in'=>array(3, 40), 'too_long' => $this->t('pick a shorter login'), 'too_short' => $this->t('pick a longer name'))); 57 $this->needsPasswordLengthValidation() ? $this->validatesLengthOf('password', array('in'=>array( 5, 40), 'too_long' => $this->t('pick a shorter password'), 'too_short' => $this->t('pick a longer password'))) : null;57 $this->needsPasswordLengthValidation() ? $this->validatesLengthOf('password', array('in'=>array(4, 40), 'too_long' => $this->t('pick a shorter password'), 'too_short' => $this->t('pick a longer password'))) : null; 58 58 } 59 59
