Storage of telephone numbers in a database
Hi,
I want to log in via e-mail and telephone number.
How to store the phone number?
I was thinking about code + number phone, unfortunately I have a problem with detecting what is a number and what is a code.
The user has one input, if the system detects that he has given his phone number, he must add a code depending on the culture.
There are a few problems:
1.) The user must enter the telephone number code each time
2.) When he enters the phone number alone, there may be a problem with sending the verification message, what if the user is in Poland and has a number from Germany?
Is there any solution ready for this? The topic seems to be very difficult.
I want to log in via e-mail and telephone number.
How to store the phone number?
I was thinking about code + number phone, unfortunately I have a problem with detecting what is a number and what is a code.
The user has one input, if the system detects that he has given his phone number, he must add a code depending on the culture.
There are a few problems:
1.) The user must enter the telephone number code each time
2.) When he enters the phone number alone, there may be a problem with sending the verification message, what if the user is in Poland and has a number from Germany?
Is there any solution ready for this? The topic seems to be very difficult.