Skip to content
Browse files

BUGFIX Increasing length of Member.Email database column to comply wi…

…th recommended RFC lengths for email addresses
  • Loading branch information...
1 parent 19bfb1c commit 7d01b4042faf4648ede8441c22211e1cb8815ee6 @chillu chillu committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 security/Member.php
View
2 security/Member.php
@@ -10,7 +10,7 @@ class Member extends DataObject {
static $db = array(
'FirstName' => 'Varchar',
'Surname' => 'Varchar',
- 'Email' => 'Varchar',
+ 'Email' => 'Varchar(256)', // See RFC 5321, Section 4.5.3.1.3.
'Password' => 'Varchar(160)',
'RememberLoginToken' => 'Varchar(50)',
'NumVisit' => 'Int',

0 comments on commit 7d01b40

Please sign in to comment.
Something went wrong with that request. Please try again.