Convert passwords

Jhonatan

New member
Hello, I'm importing users from my custom app that uses SHA256, and I want to import just the username and password. How do I do to make Xenforo verify if user's password are in SHA256 format and convert to XenForo's hash on log in?
 
You would need to create a custom authentication class and import your passwords as that class. See XenForo_Authenticate_<type> classes as examples of what you need to implement, particularly the cases where we handle passwords from other imported systems. If done correctly, their authentication method should change to the default on login.
 
Back
Top Bottom