comparison mod_register_json.wiki @ 404:37502ad2fcb8

Edited wiki page mod_register_json through web user interface.
author maranda3985@gmail.com
date Tue, 12 Nov 2013 15:35:42 +0000
parents eebd8417a2ad
children
comparison
equal deleted inserted replaced
403:6c54b5a7ccfb 404:37502ad2fcb8
44 = Usage = 44 = Usage =
45 45
46 Copy the module folder and all its contents (register_json) into your prosody modules' directory. 46 Copy the module folder and all its contents (register_json) into your prosody modules' directory.
47 Add the module your vhost of choice modules_enabled. 47 Add the module your vhost of choice modules_enabled.
48 48
49 Hint: pairing with mod_register_url is helpful, to allow server registrations only via your webform. 49 Hint: pairing with mod_register_redirect is helpful, to allow server registrations only via your webform.
50 50
51 Optional configuration directives: 51 Optional configuration directives:
52 <code language="lua"> 52 <code language="lua">
53 reg_servlet_base = "/base-path/" -- Base path of the plugin (default is register_account) 53 reg_servlet_base = "/base-path/" -- Base path of the plugin (default is register_account)
54 reg_servlet_secure = true -- Have the plugin only process requests on https (default is true) 54 reg_servlet_secure = true -- Have the plugin only process requests on https (default is true)