more login work

This commit is contained in:
2018-05-01 08:20:56 -04:00
parent 8884d1df83
commit cd10c7aaad
22 changed files with 403 additions and 2775 deletions

View File

@@ -1513,7 +1513,7 @@ class PHP_CRUD_API {
$passwordSalt = "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824";
$hashedPassword = crypt( $password, $passwordSalt );
$hashedPassword = crypt( $input['password'], $passwordSalt );
$hashedId = crypt( $id, $passwordSalt );
$input['password'] = $hashedPassword;