Hi
I have upgrade the project 3.5 to 3.60 but now I am facing one problem which is when I click on password recovery link the system throwing invalid token message.I have checked in database in GenericAttribute table where entityid is 52134 for key "PasswordRecoveryToken" but in GetAttribute function returning another BaseEntityID for key "PasswordRecoveryToken" therefore system is throwing "wrong token" message.Below are code :
Nop.Service ->common->GenericAttributeExtensions.cs ->
public static TPropType GetAttribute<TPropType>(this BaseEntity entity, string key, int storeId = 0)
{
var genericAttributeService = EngineContext.Current.Resolve<IGenericAttributeService>();
//if (key == "PasswordRecoveryToken")
//{
// entity.Id = 527570; //for PasswordRecoveryToken if you want so then you can uncomment this line. i know this is not right way to do.
//}
return GetAttribute<TPropType>(entity, key, genericAttributeService, storeId);
}
Please suggest me how can I fix the problem .