Topic: Upgrade SHA2 to BAuth?

With rails 3.1 come has_secure_password but I already have an implementation using SHA2 as described in Agile Web Development.

If I update my users model to use has_secure_password will I need to remove my user records and re create them using bcrypt passwords?

Is there any way round this?

Last edited by markhorrocks (2011-09-12 02:27:36)

Re: Upgrade SHA2 to BAuth?

you can just delete your password fields and make users re enter their password for re activating their account, it wont be so difficult, just like a password recovery method. its like when the bank make you change your password

Last edited by jtomasrl (2011-09-12 11:02:33)