Comparison

mod_welcome_page/README.md @ 6211:750d64c47ec6 draft default tip

Merge
author Trần H. Trung <xmpp:trần.h.trung@trung.fun>
date Tue, 18 Mar 2025 00:31:36 +0700
parent 6003:fe081789f7b5
comparison
equal deleted inserted replaced
6210:24316a399978 6211:750d64c47ec6
1 ---
2 labels:
3 - 'Stage-Beta'
4 summary: 'Serve a welcome page to users'
5 rockspec:
6 dependencies:
7 - mod_http_libjs
8 build:
9 copy_directories:
10 - html
11 ...
12
13 Introduction
14 ============
15
16 This module serves a welcome page to users, and allows them to create an
17 account invite via the web on invite-only servers.
18
19 The page template and policy of when to allow account creation are both
20 possible to override.
21
22 This module is part of the suite of modules that implement invite-based
23 account registration for Prosody. The other modules are:
24
25 - mod_invites
26 - mod_invites_adhoc
27 - mod_invites_page
28 - mod_invites_register
29 - mod_invites_register_web
30 - mod_register_apps
31
32 For details and a full overview, start with the mod_invites documentation.
33
34 Configuration
35 =======
36
37 `welcome_page_template_path`
38 : The path to a directory containing the page templates and assets. See
39 the module source for the example template.
40
41 `welcome_page_variables`
42 : Optional variables to pass to the template, available as `{var.name}`
43
44 `welcome_page_open_registration`
45 : Whether to allow account creation in the absence of any other plugin
46 overriding the policy. Defaults to `false` unless `registration_invite_only`
47 is set to `false`.