Hi, I'm moving an old PHP & MySQL3 application to Django SVN with
mysql5, and I've run into a problem. The passwords for the old user
accounts were stored in the database and used the mysql PASSWORD()
function for hashing. MySql 5 changed the hashing function, but kept
the old hashing function under OLD_PASSWORD() for compatibility. I
would like to have django use the OLD_PASSWORD() function for the
user's first login, and then recreate the hash using the current
PASSWORD() function. Does anyone know of a good way to have Django use
the OLD_PASSWORD() function? It would be nice to use a modified
version of contrib.auth, but I'm not sure if its possible.

Thanks,
William

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to