Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Documentation] Migrating md5 to Vanilla passwords

Greetings -

We have an existing database of users (custom) that we'd like to migrate over to Vanilla to streamline the login process, etc. Existing passwords were generated using md5. I understand that there's some form of auto-conversion at login, but was wondering what we should set the "HashMethod" to, etc.

Thanks.

Best Answer

  • ToddTodd Chief Product Officer Vanilla Staff
    edited February 2012 Answer ✓

    Here's what you do:

    1. Specify a hash method of django.
    2. When you export the passwords add md5$$ before the password. Note the two dollar signs. In MySQL you'd use concat('md5$$', u.PasswordHash) where PasswordHash is the name of the password column in your old database.

Answers

  • ToddTodd Chief Product Officer Vanilla Staff
    edited February 2012 Answer ✓

    Here's what you do:

    1. Specify a hash method of django.
    2. When you export the passwords add md5$$ before the password. Note the two dollar signs. In MySQL you'd use concat('md5$$', u.PasswordHash) where PasswordHash is the name of the password column in your old database.
  • Thanks Todd! I'll give that a try.

  • Worked. Most awesome. Thanks again.

Sign In or Register to comment.