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

Issue #595 - Use PHP 5.5+ password methods when available. User password field expanded to 255 chars. Fixes issue with salt password being updated via User > Edit User.

This commit is contained in:
Cameron
2016-06-06 19:54:48 -07:00
parent 32bd1d04ab
commit 127271e9fc
6 changed files with 229 additions and 86 deletions

View File

@@ -2299,7 +2299,7 @@ class e_front_model extends e_model
}
else //no db field types, use toDB()
{
$src_data = $tp->toDB($src_data);
$src_data = e107::getParser()->toDB($src_data);
}
}
@@ -2647,6 +2647,10 @@ class e_front_model extends e_model
return intval($this->toNumber($value));
break;
case 'safestr':
return $tp->filter($value);
break;
case 'str':
case 'string':
case 'array':