iphone xr passcode
Hi - I have had a very strange error on my iPhone XR which I recently started using. When I unlocked my Iphone I got prompted for changing my Iphone. When I entered my current passcode - it wouldn't accept it. It locked my our for 1 minute. After I tried using my old passcode - it again didn't accept it and locked me out for 5 minutes and subsequently it erased the Iphone after repeated attempts. This looks like a firmware bug - has anyone encountered this before? Is there a fix? Is there any way to permanently delete Iphone prompting to change passcode?
thanks
iPhone XR, iOS 15