Skip to content

Commit

Permalink
Revert "adding a max length of 254 to user emails (refs #4011)"
Browse files Browse the repository at this point in the history
Adding the length limit to Valid::email instead

This reverts commit e124ee5.
  • Loading branch information
zeelot committed Jul 12, 2011
1 parent fbf8bc8 commit df85312
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion classes/model/auth/user.php
Expand Up @@ -41,7 +41,6 @@ public function rules()
'email' => array(
array('not_empty'),
array('email'),
array('max_length', array(':value', 254)),
array(array($this, 'unique'), array('email', ':value')),
),
);
Expand Down

0 comments on commit df85312

Please sign in to comment.