On Wed, Sep 10, 2008 at 3:14 PM, Steve Holden <[EMAIL PROTECTED]> wrote:

>
> Chaitu wrote:
> > I want to modified the django admin login page. In this page I also
> > wants to display option for retrieve the forgotten password of admin
> > user. But I am not able to find solution for this.
> > Please help me for above problems.
> >
>
> I'm not sure it's possible to extract the plaintext password from the
> MD5 hashed version, other than by crack-like guessing methods. In theory
> there are an infinite number of different passwords that will give the
> same hash.
>
> You could just reset the password to some pseudo-random value and then
> mail the new version to your user to let them log in again:
>
> http://coderseye.com/2007/howto-reset-the-admin-password-in-django.html
>

This is only if you want to reset your own password. You wouldn't want to do
that for every user...
There is a default view for this. See:

http://docs.djangoproject.com/en/dev/topics/auth/#django.contrib.auth.django.contrib.auth.views.password_reset

--~--~---------~--~----~------------~-------~--~----~
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