mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
5cf3720bf0
commit
f6c98b1992
@ -6,9 +6,9 @@
|
||||
*/
|
||||
class MemberPassword extends DataObject {
|
||||
static $db = array(
|
||||
'Password' => 'Varchar',
|
||||
'Salt' => 'Varchar',
|
||||
'PasswordEncryption' => 'Varchar',
|
||||
'Password' => 'Varchar(160)',
|
||||
'Salt' => 'Varchar(50)',
|
||||
'PasswordEncryption' => 'Varchar(50)',
|
||||
);
|
||||
|
||||
static $has_one = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user