Closed (fixed)
Project:
Drupal core
Version:
4.7.0-beta2
Component:
user system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
25 Dec 2005 at 14:02 UTC
Updated:
24 Jan 2006 at 06:19 UTC
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
Comment #1
kiev1.org commentedThanks, 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?
Comment #2
chx commentedin user_edit_submit, after $account = $form_values['_account']; add $form_values['_account'] = NULL to make data normal sized.
Comment #3
kiev1.org commentedSo 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.
Comment #4
chx commentedI have a patch submitted which will cure this problem, however if you have an already broken database, you need the fix outlined above.
Comment #5
kiev1.org commentedThanks, and how to receive patch? I shall understand.
Comment #6
chx commentedThe patch is not yet ready which fixes the password issue, I meant the $user->data issues.
Comment #7
gordon commentedI 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.
Comment #8
chx commentedWell, if this is about changing the password, then see http://drupal.org/node/42057 .
Comment #9
Eglish commentedIt's been 2 weeks, I'm changing this to fixed since #8 seems to fix this issue.
Comment #10
dries commented