Share » Forums » Developer » password_hash_type values and their...

password_hash_type values and their meaning

password_hash_type values and their meaning

Wednesday 22 October 2003 12:35:39 pm - 2 replies

Modified on Wednesday 22 October 2003 12:36:14 pm by James Ward

Author Message

Gunnstein Lye

Thursday 23 October 2003 8:53:52 am

You will find the definitions at the top of kernel/classes/datatypes/ezuser/ezuser.php. You could perhaps use 1 or 4, but I haven't checked that.

Jan Borsodi

Thursday 23 October 2003 10:46:36 pm

eZ publish 2.2 used mysql password hashing, so if you want to import old users you have use 4 as the password_hash_type. Once the user logs in the password hash will be changed to whatever is set as the sites hash type.

Types 1 to 3 are md5 hashes where 2 is the recommended.

Type 5 is for entering passwords in plain text, this is useful for manually changing the password if a user have forgot it. Again the hash will change once the user logs in.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu