I'm developing a system, where some user actions need to be confirmed by entering a PIN. This PIN will be generate when the user register and send to him by email.
However, I need to give the user the ability to reset it like in auth => reset password!
I tried to understand it without success.
Could someone give me some hint?