Fixes to bugs introduced by the multiple mail feature

This commit is contained in:
Patrick Georgi
2011-03-03 21:03:26 +01:00
parent 31469204e0
commit 04069871bb
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ class IDF_Form_UserChangeEmail extends Pluf_Form
throw new Pluf_Form_Invalid(__('The validation key is not valid. Please copy/paste it from your confirmation email.'));
}
$cr = new Pluf_Crypt(md5(Pluf::f('secret_key')));
return explode(':', $cr->decrypt($encrypted), 3);
return explode(':', $cr->decrypt($encrypted), 4);
}