# HG changeset patch # User Matthew Wild # Date 1601996784 -3600 # Node ID e56b6b6852ae2854ec15ebb989380da7d153d10e # Parent dfa885f815eb5db95d4a1d088980be2fd2399d4a mod_invites_register_web: Fix bug where invalid invite code redirected to wrong URL diff -r dfa885f815eb -r e56b6b6852ae mod_invites_register_web/mod_invites_register_web.lua --- a/mod_invites_register_web/mod_invites_register_web.lua Tue Oct 06 16:05:30 2020 +0100 +++ b/mod_invites_register_web/mod_invites_register_web.lua Tue Oct 06 16:06:24 2020 +0100 @@ -38,7 +38,7 @@ return { status_code = 303; headers = { - ["Location"] = invites.module:http_url().."?"..(event.request.url.query or ""); + ["Location"] = invites_page.module:http_url().."?"..(event.request.url.query or ""); }; }; end