Sunday, September 25, 2016

Re: How can I send a password recovery e-mail to a Customer/User in Django?

Hello,

the trick is not in the email sending, but in resetting the password.

Assuming you don't use any user managing apps (as you didn't state it), you will have to implement some parts, but the built-in auth module[1] already covers a lot of this.

Best,
Gergely

[1] https://docs.djangoproject.com/en/1.9/topics/auth/default/#using-the-views


On Sun, Sep 25, 2016, 23:17 João Rodrigues <joaorodr84@gmail.com> wrote:
I am working on a small online shop with Django 1.9 and I have a Customers page.

Note: This is the back-end site. Only for me...



Clicking on the green lock icon should send a password recovery e-mail to the e-mail address of the Customer of that row.

We assume that I can easily fetch the e-mail address of the targeted Customer, and that there is no need to check if the e-mail address is valid, because it is already in the system.

How could I achieve the action of sending a password recovery e-mail to that user?

Thanks

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/688c1a12-a7c2-4817-8c26-34ce59ab5c35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACczBUKHmFvqy3U%3D0RZrPZYJWo18dP6k2CyLtkHnfmw19%2B4XVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment