I was about to do that. :-D

But after thinking about it, I didn't do that.

Thanks guys

On Apr 5, 6:51 pm, soniiic <soni...@gmail.com> wrote:
> I hope that doesn't mean storing the real password in a table in the
> database :)
>
> On Apr 4, 11:12 pm, Joshua Partogi <joshua.j...@gmail.com> wrote:
>
> > On Apr 4, 11:49 pm, Masklinn <maskl...@masklinn.net> wrote:
>
> > > On 4 Apr 2009, at 15:38 , Joshua Partogi wrote:
>
> > > > Dear all,
>
> > > > I already take a look at the django.contrib.auth.models but could not
> > > > find any methods for decrypting the user password.
>
> > > > Sometimes we need to get the real text password to be sent to user.
>
> > > > What is the best way to do this? Anybody has got an idea?
>
> > > > Thank you very much in advance!
>
> > > Django's passwords are salted[1] and hashed[2]. You cannot[3] retrieve  
> > > them, and that's exactly the intent (well the intent is not that *you*  
> > > cannot retrieve them, it's that nobody else can). If you need to send  
> > > users their passwords, you have to generate new (random) passwords and  
> > > send them that.
>
> > > Masklinn
>
> > Thanks for the explanation Masklinn. :-)
>
> > I'll find another way to send user their password.
>
> > Thank you very much.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to