On 11/24/05, stava <[EMAIL PROTECTED]> wrote: > can't seem to get my application user's passwords working properly > after the last changes to the password algorithm. User's with old md5 > passwords can login once, but after that their passwords don't work > anymore. What gives?
Hmmm, I can't reproduce this. Maybe the bug is in your own code, perhaps? > Also, is there anyway of using mysql to create the new password format? > Reason being that I've extended the auth.user class, and I can't for my > life create users using python (other than that it works fine), so for > the time being I resorted to using mysql with md5('password') insert > statements, and of course these doesn't work with the new algo. My recommendation would be to write a create_user() module-level function in your User subclass. This would mirror the "real" User.create_user(), so you'd be able to create users in Python, which is best. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org