diff mod_welcome_page/html/index.html @ 4192:1be37846314a

mod_welcome_page/html: Fix form target if path isn't / action="/" only works if http_paths.welcome_page="/" while "" should work as long as the GET and POST URLs are the same.
author Kim Alvefur <zash@zash.se>
date Mon, 12 Oct 2020 18:38:36 +0200
parents 9127fa98ee1e
children e92441e8bda0
line wrap: on
line diff
--- a/mod_welcome_page/html/index.html	Mon Oct 12 18:04:05 2020 +0200
+++ b/mod_welcome_page/html/index.html	Mon Oct 12 18:38:36 2020 +0200
@@ -40,7 +40,7 @@
 			{message.text}
 		</div>}
 
-		<form method="POST" action="/" class="d-inline">
+		<form method="POST" action="" class="d-inline">
 		<button class="btn btn-primary btn-lg mb-2" type="submit">Create account</button>
 		</form>