I forgot the password to my old iPhone, so I reset it myself, but it still requires the old Apple ID.
I wanted to give my old phone to my sister, but it had a password that I didn't remember. I had to erase all the data through the computer, and then it turned out that the old Apple ID was still on it, and I forgot both the ID and the password.