Sunday, May 27, 2018

Re: Authenticate with mobile number(duplicate mobile number)

from my perspective: you can do two things.  First and easiest, is to have the user include the country code when registering.  So if they get a duplicate phone number, that's not your fault.  Second, and more complicated, is to use a pre-save db signal to execute the user country lookup by IP and transform the phone number before the db insert happens.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/893cf3eb-fc86-4e8f-a7a1-9348b2ced817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment