Diff

mod_register_redirect/README.md @ 6003:fe081789f7b5

All community modules: Unify file extention of Markdown files to .md
author Menel <menel@snikket.de>
date Tue, 22 Oct 2024 10:26:01 +0200
parent 5750:372b6c4bf409
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_register_redirect/README.md	Tue Oct 22 10:26:01 2024 +0200
@@ -0,0 +1,52 @@
+---
+labels:
+- 'Stage-Stable'
+summary: 'XEP-077 IBR Registration Redirect.'
+...
+
+Introduction
+------------
+
+Registration Redirect as explained in the [IBR
+XEP](http://xmpp.org/extensions/xep-0077.html#redirect).
+
+Details
+-------
+
+This module shows instructions on how to register to the server, should
+it be necessary to perform it through other means Out-Of-Band or not,
+and also let's registrations origining from ip addresses in the
+whitelist to go through normally.
+
+Usage
+-----
+
+Copy the module file into your Prosody modules directory.
+
+The module will work "out of the box" as long as at least an admin entry
+is specified (see admins = {} option into prosody's documentation).These
+are the optional parameters you can specify into your global
+server/hostname configuration:
+
+    registration_whitelist = { "*your whitelisted web server ip address*" }
+    registration_url = "*your web registration page url*"
+    registration_text = "Your custom instructions banner here"
+    registration_oob = true (default) or false, in the case there's no applicable OOB method (e.g. the server admins needs to be contacted by phone)
+
+To not employ any whitelisting (i.e. registration is handled
+externally).
+
+    no_registration_whitelist = true
+
+Compatibility
+-------------
+
+  ------ --------------
+  0.10   Works
+  0.9    Works
+  0.8    Works
+  0.7    Might not work
+  0.6    Doesn't work
+  0.5    Doesn't work
+  ------ --------------
+