BUGFIX: Increase size of varchar fields on MemberPassword to match those defined in Member. This fixes issues when the password hash is longer than 50 characters, and was being truncated when saved in MemberPassword.

This commit is contained in:
Andrew O'Neil 2012-05-07 14:18:15 +12:00
parent 5cf3720bf0
commit f6c98b1992

View File

@ -6,9 +6,9 @@
*/ */
class MemberPassword extends DataObject { class MemberPassword extends DataObject {
static $db = array( static $db = array(
'Password' => 'Varchar', 'Password' => 'Varchar(160)',
'Salt' => 'Varchar', 'Salt' => 'Varchar(50)',
'PasswordEncryption' => 'Varchar', 'PasswordEncryption' => 'Varchar(50)',
); );
static $has_one = array( static $has_one = array(