T Twerion Member Dec 9, 2017 #1 Hey, how does xenforo 2 hash user password? Can I convert a string into a password hash by myself? Or how can I create new users? Regrads
Hey, how does xenforo 2 hash user password? Can I convert a string into a password hash by myself? Or how can I create new users? Regrads
Chris D XenForo developer Staff member Dec 9, 2017 #2 Same as XF1. We use bcrypt, though if you have PHP 5.5 or above you can just use PHP's built in password_hash and password_verify functions.
Same as XF1. We use bcrypt, though if you have PHP 5.5 or above you can just use PHP's built in password_hash and password_verify functions.
Jake B. Well-known member Dec 9, 2017 #4 Easiest way would probably be to just use the \XF\Service\User\Registration service that XF uses when registering, take a look in \XF\Pub\Controller\Register
Easiest way would probably be to just use the \XF\Service\User\Registration service that XF uses when registering, take a look in \XF\Pub\Controller\Register