On ver 4.7.x when the user tries to change his password an Invalid Registration Code message appears stopping the user from changing the password.
A quick fix is to disable the 'validate' case (just did a /* */).
I am wondering why during validation we need to check for the registration code?????

Comments

d------’s picture

This is also the case for version 5.x.

I am wondering why during validation we need to check for the registration code?

I agree, there should only be a check on the code during new user registration, not at any other time.

d------’s picture

This bug is the same as the one discussed here - http://drupal.org/node/137606 and there is a patch on that page that works great. This bug report can be closed as a duplicate?

OsterD’s picture

Status: Active » Closed (fixed)

By remarking as I proposed before basically disables any validation of the registration code, which means that the user can enter any number and then the user is allowed to login. This is bad.
I suggest the patch supplied for ver 5.x here.