[support] Editing user fields in PHP locks user out

Jesse Osiecki jesse.osiecki at gmail.com
Mon Jun 16 18:23:04 UTC 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140616/4127d8ce/attachment.html 


More information about the support mailing list