The first sentence doesn't sound quite correct to me. So I think that "forget" takes the infinitive after it. The second sentence is better and it is the one I would say normally.
The first sentence is understandable and would mean the same as the second...it is just awkward to say, it is for me anyway.
Student or Learner