4 ms·
This! Send them a random number. If you really need it time-based then store the expiry time along with the code you sent them. Anytime you check the code you
by lelanthran 4y ago
This!
Send them a random number. If you really need it time-based then store the expiry time along with the code you sent them.
Anytime you check the code you see if $current_time is greater than the $expiry_time.