Tags/topics: 
2
Answers
Vote up!
0
Vote down!

How do I reset my password if I don't know the current one?

I'm logged in drupalcommerce.org, but don't know my password. I logged in by clicking a link in the retrieve password function.

When I try to change my password now, it askes for my old one. I have none.

What do I do?

Thanks,
Frank

Asked by: harri00413
on February 11, 2013

Comments

For some reason the session is being lost. This is a known bug in Drupal. It usually happens if one does the reset password bit, uses the URL to log in, but then moves off that edit page for some reason before changing the password. When one comes back to the page the server thinks the user has already changed the password. This security feature was added for Drupal 7. Alas, it can lead to a catch-22 situation as described. As mentioned sometimes just logging off and then requesting a new password will solve it.. but if not then one needs to clear the cookies and cache on ones browser. And then try again.

We had the same thing happening to folks on our server. One solution that worked for us was to install a module that gives the option to remove that challenge. http://drupal.org/project/nocurrent_pass . The folks here at drupacommerce may come up with a better one.

- FSheff on February 15, 2013

2 Answers

Vote up!
1
Vote down!

This is an odd problem :P Here's what I suggest: go ahead and log out, then go here:

Request new Password

Give that form your email address. You will receive an email with another link and that link should let you set your password without first knowing the original password.

Let us know if this works!

Josh Miller
Answer by: Josh Miller
Posted: Feb 12, 2013
Vote up!
0
Vote down!

I also ran into this and found out that the problem was because I was uploading a pic to my account (which uses ajax to save the image to the account behind the scenes) this causes the site to expect a "current password" when you try to save the account form with your new password. After resetting email and only changing password, everything went fine. Afterwards I updated my pic.

Answer by: cocoshogo
Posted: Mar 19, 2013