Software /
code /
prosody-modules
Diff
mod_register_json/README.markdown @ 2876:ea6b5321db50
README files: Fix typos
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 04 Feb 2018 16:05:27 +0100 |
parent | 1803:4d73a1a6ba68 |
child | 3291:4c3230c22c18 |
line wrap: on
line diff
--- a/mod_register_json/README.markdown Sun Feb 04 16:01:37 2018 +0100 +++ b/mod_register_json/README.markdown Sun Feb 04 16:05:27 2018 +0100 @@ -27,7 +27,7 @@ {"username":"usernameofchoice","password":"theuserpassword","ip":"theremoteaddroftheuser","mail":"usermail@usermaildomain.tld","auth\_token":"yourauthtokenofchoice"}\</code\> Your form implementation needs to pass **all** parameters, the -auth\_token is needed to prevent misuses, if the request is successfull +auth\_token is needed to prevent misuses, if the request is successful the server will answer with status code 200 and with the body of the response containing the token which your web app can send via e-mail to the user to complete the registration.