[Tickets #1334] Unable to reset user passwords using user administration

bugs at bugs.horde.org bugs at bugs.horde.org
Sun Feb 27 09:16:56 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1334
-----------------------------------------------------------------------
 Ticket             | 1334
 Updated By         | mike at theupstairsroom.com
 Summary            | Unable to reset user passwords using user administration
 Queue              | Horde Base
 Version            | HEAD
 State              | Feedback
 Priority           | 1. Low
 Type               | Bug
 Owners             | Jason Felice
+New Attachment     | Auth_sql.patch
-----------------------------------------------------------------------


mike at theupstairsroom.com (2005-02-27 09:16) wrote:

Ok.  How about this patch?  If no password expiration is setup, then $tuple
was something like this:

Array([user_uid] => 'username' [user_pass] => 'password' [] => )

So,  Horde_SQL::updateValues() was returning a " = NULL "  for that third
element, causing the SQL error.

Now check for existence of 'soft_expiration_field' before setting the $tuple
element to Null.

(Also added the __FILE__ and __LINE__ params to the log call)




More information about the bugs mailing list