diff mod_register_web/mod_register_web.lua @ 791:b9d149936764

mod_register_web: Show actual hostname in registration form
author Kim Alvefur <zash@zash.se>
date Fri, 10 Aug 2012 21:40:52 +0200
parents 03595194075a
children 6617f5f79d68
line wrap: on
line diff
--- a/mod_register_web/mod_register_web.lua	Fri Aug 10 07:42:53 2012 +0700
+++ b/mod_register_web/mod_register_web.lua	Fri Aug 10 21:40:52 2012 +0200
@@ -35,7 +35,7 @@
 	[[	<table>
 		<tr>
 			<td>Username:</td>
-			<td><input type="text" name="username">@server</td>
+			<td><input type="text" name="username">@]]..module.host..[[</td>
 		</tr>
 		<tr>
 			<td>Password:</td>