mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Increasing length of Member.Email database column to comply with recommended RFC lengths for email addresses
This commit is contained in:
parent
19bfb1c83c
commit
7d01b4042f
@ -10,7 +10,7 @@ class Member extends DataObject {
|
|||||||
static $db = array(
|
static $db = array(
|
||||||
'FirstName' => 'Varchar',
|
'FirstName' => 'Varchar',
|
||||||
'Surname' => 'Varchar',
|
'Surname' => 'Varchar',
|
||||||
'Email' => 'Varchar',
|
'Email' => 'Varchar(256)', // See RFC 5321, Section 4.5.3.1.3.
|
||||||
'Password' => 'Varchar(160)',
|
'Password' => 'Varchar(160)',
|
||||||
'RememberLoginToken' => 'Varchar(50)',
|
'RememberLoginToken' => 'Varchar(50)',
|
||||||
'NumVisit' => 'Int',
|
'NumVisit' => 'Int',
|
||||||
|
Loading…
Reference in New Issue
Block a user