Erased my phone to sell it. Asking for passcode and it does not take
I got a new iphone 14, transferred all data and info, then I erased my old iPhone X. I want to sell it - but the old iPhone asks for a passcode - my old passcode does not work. So how can I reset the phone to make it usable for the person I sell it to? Thanks!!!!
iPhone 6s, iOS 12