New 6 digit passcode request after reset
I was going to let someone use my old iPhone 5s, so I reset the data, and gave it to them after I checked to see that it started clean with the Hello screen. When they tried to use it, they found that on about the third page of the setup process, it asked for a 6 digit passcode. I had only used a 4 digit code, and that didn't work. I couldn't find any information on this, and was about to give up when I tried 000000. That worked and I can give back the phone with the problem solved, but I am curious what this is about. When the phone is wiped clean, I can't understand why a request for an undocumented password would happen. Did I miss something?
Thanks
iPhone 5s, iOS 10.2