CodeIgniter Forums

Full Version: Tank Auth with MD5?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]smick[/eluser]
Hey Guys,

I'm looking into using Tank Auth for my site's authentication, but I have an existing user database which has MD5 hashed passwords. One of the reasons I'm choosing Tank is because of the Facebook connect plugin that is available.

Would it be an easy rewire to mod tank auth to work with MD5 instead of phpass? Is there a better option for a full featured auth with social integration?

Thanks for any advice.

El Forum

[eluser]smick[/eluser]
Okay, got it sorted. basically just replaced every hash check with an md5 check in the Tank_auth library and removed the phpass inclusion and it's working flawlessly.

Tank auth is fantastic btw.