So, I’m already creating and storing a random number for each user, then sending it to his phone.
Now the user is entering the code on the input, but I’m not being able to compare an aprove the action because I can’t access the specific value I stored on a database record.
So if anyone has an idea on how to achieve this.
O the other hand I have another similar problem:
The user is entering a value, a unique number. I need to lookup for that number on all the records before, and if it is already he needs to select another unique value. Can’t find out how to do this.
Thanks, I hope someone know how to give me a hand here!