Hi Daniel, No i didn't consider salted hashes (I have never heard of them is the reason lol). I have now reset it to the hash as you suggested and I can now login in. THANK YOU!!! Will look further into problem as it does not accept any of my user logins that have been created by the admin site, even though I know i am using the correct username and password. I do have shell access as I am using my own computer. When I have worked out what to do I will look into your second suggestion. Thanks agin for quick response. MWAH!!! Allison
On Jul 8, 11:19 am, Daniel Hepper <[EMAIL PROTECTED]> wrote: > Hi! > > When you change the password with phpmyadmin, did you consider that > passwords are not stored in plaintext, but as salted hashes? > > You can try to set it to this value: > sha1$3a68b$7fbea95491a9d04e3cf647d5c8e675da69e1d458 > > This should set your password to 'passwort' (without apostrophes). > Alternatively, if you have shell access, you can use the DB API to reset > the password. > > See:http://coderseye.com/2007/howto-reset-the-admin-password-in-django.html > > HTH, > Daniel > > Am Dienstag, den 08.07.2008, 02:00 -0700 schrieb allisongardner: > > > Hi! I went away for the weekend, when all was working fine, and having > > come back to work I have found that I cannot login to the admin site. > > Checked the database users passwords and they had automatically > > changed themselves to random strings. I changed the user password back > > in phpmyadmin but still cannot login to admin site. Nothing has been > > done to other than to turn off the computer for the weekend and turn > > it back on again! > > Help! > > Allison --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

