Drupal-cvs (4.7-beta2) does not recognize my password, on sent on e-mail to the reference "request to reset the password " - to come it is possible, to change it is possible but after an output all the same does not recognize, help please.

test-site: http://n.orthodoxy.org.ua
php-setting: http://n.orthodoxy.org.ua/phpinfo.php

Comments

kiev1.org’s picture

Thanks, has understood - something strange with mysql the provider - it updates record in the table user more than 20 seconds if manually to enter md5 the password - that identifies normally, and Drupal cannot change - too many size field "data"; Probably-whether to make that field "data" it was updated separately from change of the password?

chx’s picture

in user_edit_submit, after $account = $form_values['_account']; add $form_values['_account'] = NULL to make data normal sized.

kiev1.org’s picture

So it is not understood - if Drupal could not update record in the table user - that why does not give out a mistake? - Correct please this unpredictable behaviour.

chx’s picture

I have a patch submitted which will cure this problem, however if you have an already broken database, you need the fix outlined above.

kiev1.org’s picture

Thanks, and how to receive patch? I shall understand.

chx’s picture

The patch is not yet ready which fixes the password issue, I meant the $user->data issues.

gordon’s picture

I have done some investigation on this this afternoon, and I have found the problem.

Basically because of the method that the password field on user/edit is displayed the 'pass1' and 'pass2' are not past to user_edit_validate() because the 2 fields do not exist in the $form so the information from the $_POST is not going to trigger the change in password.

From what I can see 'pass1' and 'pass2' need to be fields in the $form.

chx’s picture

Well, if this is about changing the password, then see http://drupal.org/node/42057 .

Eglish’s picture

Status: Active » Fixed

It's been 2 weeks, I'm changing this to fixed since #8 seems to fix this issue.

dries’s picture

Status: Fixed » Closed (fixed)