Solved: forgot password is not working with drupal

If your website created in drupal cms the you click on forgot password link. you got the email from your website to reset the password.

When I used this drupal functionality I got weird issue with durpal cms. I got the email from website but when I tried to login with url.

the email notification doesn’t work for me at all. I did google around for this issue but did not got any solution for this issue.

Then I tired to solve this issue my own and I found the hack to solve this issue.

Go to your drupal installation and open “user.pages.inc” file from following location

File : modules/user/user.pages.inc

Find function called  “user_pass_reset()” in file. You need to modify that function.

Put the following line :
$action = ‘login’;
before if ($action == ‘login’)  line. This code will solve the forgot password and authentication with url issue.

Incoming search terms:

You may like following Articles!

This entry was posted in drupal and tagged , by Wordpress API. Bookmark the permalink.

About Wordpress API

API means Application Program interface. In Wordpress API we are giving all the information about wordpress API. We worked for many wordpress plugins and themes. We have expertise in PHP, Databases, Graphic Design, Ruby on Rails, Java, Wordpress, Drupal and many CMS. We always give you the best solutions about wordpress and other related topics in This Blog. We will give you always fresh tips and tricks and techniques about wordpress in this blog.

30 thoughts on “Solved: forgot password is not working with drupal

  1. Pingback: Tweets that mention Solved: forgot password is not working with drupal -- Topsy.com

  2. I love your web site! did you create this your self or did you outsource it? Im searching for a blog design thats comparable so thats the only reason I’m asking. Either way keep up the nice work I was impressed with your content actually..

  3. Nice post! You truly have a wonderful way of writing which I find captivating! I will definitely be bookmarking you and returning to your blog. In fact, your post reminded me about a strange thing that happened to me the other day. I’ll tell you about that later…

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>