diff mod_register_web/mod_register_web.lua @ 3753:cf3247ec5e01

mod_register_web: Set a (configurable) HTTP app title This is understood by mod_http_index for example.
author Kim Alvefur <zash@zash.se>
date Sun, 17 Nov 2019 16:34:56 +0100
parents 19e43b7a969d
children 95262bd1bcb2
line wrap: on
line diff
--- a/mod_register_web/mod_register_web.lua	Sun Nov 17 16:33:28 2019 +0100
+++ b/mod_register_web/mod_register_web.lua	Sun Nov 17 16:34:56 2019 +0100
@@ -198,6 +198,7 @@
 end
 
 module:provides("http", {
+	title = module:get_option_string("register_web_title", "Account Registration");
 	route = {
 		GET = generate_page;
 		["GET /"] = generate_page;