Not getting correct last password changed date for cms member?
Hi,
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.
Hi, i just tried this on a build i have and getting the same issue :). When did you last change the password for the user?
Charlie. I am guessing its the way in which we are asking for the date out of the method. Might be worth rasing a bug if you cannot find a solution to it. I would send a tweet out with #umbraco see if anyone has any ideas :)
Not getting correct last password changed date for cms member?
Hi,
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
Hi, i just tried this on a build i have and getting the same issue :). When did you last change the password for the user?
Charlie. I am guessing its the way in which we are asking for the date out of the method. Might be worth rasing a bug if you cannot find a solution to it. I would send a tweet out with #umbraco see if anyone has any ideas :)
is working on a reply...