0
Problem
Users who register with the email in gmail can create multiple accounts just by changing the . (dot) place. For example: [email protected] and [email protected] direct to the same email but are two accounts on my website. So the user can spam accounts considering this.
Doubt
I wonder if I can make a filter ignoring points. That way, if you have @gmail.com in the email, I search for the email ignoring both the search string and the Django filter. Something to that effect:
User.objects.filter(email = useremail.replace('.').('')).exclude(email__ignore_char = '.')
That way I’d be searching [email protected] across my base and ignore the . in the records I have also.
What would be the reason for downvote? Thank you
– Guilherme IA
It seems that someone programmed a bot to negate all questions. I just asked a question and was instantly negative, without explanation. The same thing happened to other people. See another case here: https://answall.com/questions/438365/como-realizar-uma-coleta-informa%C3%A7%C3%b5es-de-um-file-json-via-ajax-no-use-de
– Lucas
Oh yes, it really was just after creating the question..
– Guilherme IA