Mercurial > prosody-modules
comparison mod_invites_register_web/mod_invites_register_web.lua @ 4108:f49e3ea99785
mod_invites_register_web: Remove dependency on mod_easy_invite
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 11 Sep 2020 16:36:34 +0100 |
parents | a2116f5a7c8f |
children | d0366474aace |
comparison
equal
deleted
inserted
replaced
4107:798f284717e7 | 4108:f49e3ea99785 |
---|---|
13 | 13 |
14 local site_name = module:get_option_string("site_name", module.host); | 14 local site_name = module:get_option_string("site_name", module.host); |
15 local site_apps = module:shared("register_apps/apps"); | 15 local site_apps = module:shared("register_apps/apps"); |
16 | 16 |
17 module:depends("http"); | 17 module:depends("http"); |
18 module:depends("easy_invite"); | 18 |
19 local invites = module:depends("invites"); | 19 local invites = module:depends("invites"); |
20 local invites_page = module:depends("invites_page"); | 20 local invites_page = module:depends("invites_page"); |
21 | 21 |
22 function serve_register_page(event) | 22 function serve_register_page(event) |
23 local register_page_template = assert(module:load_resource("html/register.html")):read("*a"); | 23 local register_page_template = assert(module:load_resource("html/register.html")):read("*a"); |