Stop spam registrations?
-
I use JSON-API extensively, and have been testing JSON-API-USER. I have found that I can register users by getting the nonce, and using that in the user.register request to register users.
But it appears that there is no authentication, so any spammers/bots can replicate this. Can the get_nonce be secured so that the nonce can only be retrieved if, for example, a password or token is included in the get_nonce request?
Or am I mis-understanding how this works?
My test calls are below:-
// get the nonce
https://www.mysite/?json=get_nonce&controller=user&method=register
// use the nonce to register the user
https://www.mysite/?json=user.register&username=testuer&nonce=abc123def0&display_name=testuser&[email protected]&password=abc123
- The topic ‘Stop spam registrations?’ is closed to new replies.