David Sean Taylor wrote:

I added a patch yesterday to 1.6 to fix this problem with the creation date and password changed during creation of a new user.
Tested on Hypersonic and MySQL only.

  +        if (user.isNew())
  +        {
  +            Date created = user.getCreateDate();
  +            if (created == null)
  +            {
  +                created = new Date();
  +            }
  +            criteria.add( "TURBINE_USER.CREATED", created);
  +            criteria.add( "TURBINE_USER.PASSWORD_CHANGED", created);
  +         }

Sorry, forgot to mention, that patch was added to the buildCriteria method of

 src/java/org/apache/jetspeed/om/security/turbine/TurbineUserPeer.java



--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to