Hi to all!
I’m tryng to reproduce the “suitecrm.users.user_hash” column creation outside SuiteCRM.
I try this code, bt the hash not match with the db record.
Where I’m wrong?
<?php
$salt = substr("myusername", 0, 2);
$user_password = "mypassword";
$encrypted_password = crypt($user_password, $salt);
echo $encrypted_password;
?>