Answer the question
In order to leave comments, you need to log in
How do you register without a phone number?
Hello!
I have a registration and authorization form on the site, here and there, instead of a login, you need to enter a phone number, there is a mask that only allows numbers to pass through.
But I see that spammers manage to enter letters, how to fix it?
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
The mask is the job of js. Disable js - enter whatever you want. And the pattern can even be changed in the browser tools. Therefore, such "protection" is fake. This should always be validated on the server. Did not pass - return an error.
Option 2 how they can pierce - if you use custom registration, and not native from VP, then spammers can registrate through VP-shnuyu. Enter through the back door
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question