Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
give me tutorial for forgot password
12-29-2013, 07:22 AM,
Post: #1
give me tutorial for forgot password
plz give me forgot password php script tutorial
Reply
12-30-2013, 05:37 AM,
Post: #2
RE: give me tutorial for forgot password
what the name of your site @ajay
Reply
12-31-2013, 12:35 PM,
Post: #3
RE: give me tutorial for forgot password
Why u want
Reply
08-28-2014, 07:08 PM,
Post: #4
RE: give me tutorial for forgot password
Tutorial submited year ago
Reply
08-20-2019, 08:01 PM,
Post: #5
RE: give me tutorial for forgot password
In the original Hello Web App book, I walk you through the process of setting up your registration and login pages so user's can join and log into your new app. We also set up the password reset views on the login form, so if a user doesn't remember their login information, they can get a reset link emailed to them.

We also set up the templates for the password change functionality, so logged in users can update their password, but we didn't set up the URLs and templates in order to get that working. Let's do that here!

Set up the URL
We already set up the URLs for password reset functionality — adding the password change functionality is very similar:
# add to the top
from django.contrib.auth.views import (
   password_reset,
   password_reset_done,
   password_reset_confirm,
   password_reset_complete,
   # these are the two new imports
   password_change,
   password_change_done,
)

urlpatterns = [
   # the previously added URL definitions
   url(r'^accounts/password/reset/done/$',
       password_reset_done,
       {'template_name': 'registration/password_reset_done.html'},
       name="password_reset_done"),
   # new url definitions
   url(r'^accounts/password/change/$', password_change, {
       'template_name': 'registration/password_change_form.html'},
       name='password_change'),
   url(r'^accounts/password/change/done/$', password_change_done,
       {'template_name': 'registration/password_change_done.html'},
       name='password_change_done'), by Epicfollowers
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)