Skip to content

Commit

Permalink
MINOR Reverting Member "AutoLoginHash", "RememberLoginToken" and "Sal…
Browse files Browse the repository at this point in the history
…t" to their original VARCHAR length to avoid problems with invalidated hashes due to shorter field length

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@114748 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
chillu committed Dec 9, 2010
1 parent 674d8e0 commit f61a307
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions security/Member.php
Expand Up @@ -11,18 +11,18 @@ class Member extends DataObject {
'Surname' => 'Varchar',
'Email' => 'Varchar',
'Password' => 'Varchar(160)',
'RememberLoginToken' => 'Varchar(40)',
'RememberLoginToken' => 'Varchar(50)',
'NumVisit' => 'Int',
'LastVisited' => 'SS_Datetime',
'Bounced' => 'Boolean', // Note: This does not seem to be used anywhere.
'AutoLoginHash' => 'Varchar(40)',
'AutoLoginHash' => 'Varchar(50)',
'AutoLoginExpired' => 'SS_Datetime',
// This is an arbitrary code pointing to a PasswordEncryptor instance,
// not an actual encryption algorithm.
// Warning: Never change this field after its the first password hashing without
// providing a new cleartext password as well.
'PasswordEncryption' => "Varchar(50)",
'Salt' => 'Varchar(40)',
'Salt' => 'Varchar(50)',
'PasswordExpiry' => 'Date',
'LockedOutUntil' => 'SS_Datetime',
'Locale' => 'Varchar(6)',
Expand Down

0 comments on commit f61a307

Please sign in to comment.