我在 SugarCRM 中创建了一个用户;一旦我创建了一个用户,密码就会邮寄给用户。我看到表用户,但 user_hash 是空白的。
它在发送电子邮件之前将密码存储在哪里?
检查“system_generated_password”列。在新用户使用系统生成的密码登录并为自己创建新密码之前,“user_hash”将为空。
I think you might be mistaken. I just created a new user with a user name new_user
. I then did the following query:
SELECT * FROM users WHERE user_name = "new_user"
The user_hash
has a value of 1e3fab09c625a96334d18d2da27dae46
.
I double-checked, and the password emailed to me was l7YaR7
, which md5 hashes to the above.
I did this in Sugar 6.1.1. What version are you using?
Also, did the email get sent out? It's possible that the password hash isn't sent to the DB until after the email has been successfully sent.
如果您使用 phpmyadmin,您可以使用 md5 函数创建用户。
您可以更改密码世界并使用 md5() 函数;