Editing user fields in PHP locks user out
Jesse Osiecki <[email protected]>
| Newsgroups | gmane.comp.php.drupal.support |
|---|---|
| Message-ID | <CAA_7S_Ffb0W7df+bEe=5=q3=rLLu3Nd6OskGXFaumzMTCuBKCg@mail.gmail.com> |
I have recently written a custom module that among other things edits a user field (2 actually) during execution. If any user field is changed, after logging out, the user can no longer log in and has to reset his/her password. It this usual behaviour (am I missing something key to drupal permissions?) I can send code, but it is all using user_load ---- modify array -- and then user_set(array) to save the changes -- [ Drupal support list | http://lists.drupal.org/ ]