1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 02:24:08 +02:00

Remove old way to store user preferences sytem-wide

This commit is contained in:
SecretR
2014-10-24 07:37:03 +03:00
parent e636fba0be
commit 85d6ec37f7
5 changed files with 19 additions and 13 deletions

View File

@@ -569,7 +569,8 @@ if (isset($_POST['register']) && $pref['user_reg'] == 1)
if (vartrue($pref['allowEmailLogin']))
{ // Need to create separate password for email login
$allData['data']['user_prefs'] = serialize(array('email_password' => $userMethods->HashPassword($savePassword, $allData['data']['user_email'])));
//$allData['data']['user_prefs'] = serialize(array('email_password' => $userMethods->HashPassword($savePassword, $allData['data']['user_email'])));
$allData['data']['user_prefs'] = e107::getArrayStorage()->serialize(array('email_password' => $userMethods->HashPassword($savePassword, $allData['data']['user_email'])));
}
$allData['data']['user_join'] = time();