Improvement change of function hashPassword

This commit is contained in:
Marco Antonio Nina
2014-10-02 16:31:50 -04:00
parent 402e98d0f8
commit edfba243e7
6 changed files with 9 additions and 9 deletions

View File

@@ -1189,7 +1189,7 @@ class wsBase
$arrayData = array ();
$arrayData["USR_USERNAME"] = $userName;
$arrayData["USR_PASSWORD"] = Bootstrap::hasPassword( $password );
$arrayData["USR_PASSWORD"] = Bootstrap::hashPassword( $password );
$arrayData["USR_FIRSTNAME"] = $firstName;
$arrayData["USR_LASTNAME"] = $lastName;
$arrayData["USR_EMAIL"] = $email;
@@ -1380,7 +1380,7 @@ class wsBase
}
if (! empty( $password )) {
$arrayData["USR_PASSWORD"] = Bootstrap::hasPassword( $password );
$arrayData["USR_PASSWORD"] = Bootstrap::hashPassword( $password );
}
//Update user