Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX: Increase size of varchar fields on MemberPassword to match th…

…ose defined in Member. This fixes issues when the password hash is longer than 50 characters, and was being truncated when saved in MemberPassword.
  • Loading branch information...
commit f6c98b1992db60c1736ce02bca335788ff9d6cb3 1 parent 5cf3720
Andrew O'Neil ajoneil authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 security/MemberPassword.php
6 security/MemberPassword.php
View
@@ -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(
Please sign in to comment.
Something went wrong with that request. Please try again.