I am using uCommerce with the cms member. For the forgot password password link validation i want the last password changed date for the required member but it gives wrong date as current date time value.
String userName = Membership.GetUserNameByEmail(email);
MembershipUser membershipUser = Membership.GetUser(userName);
if (membershipUser.LastPasswordChangedDate > date)
{
----- validation Where date is the datetime when user request forgot password request and link will sent to him
---- but all the time LastPasswordChangedDategetting current date time, so can not able to set the validation
}
Any Idea?
Thanks
Girish