# HG changeset patch # User Ingo Bormuth # Date 1322397065 -3600 # Node ID 9345ea6af3b2dbe2d77e0ff3f9e9422bb0d83c1d # Parent 7db22d3e9eea0ab28140f737e5200b76c21f8ad1 Show invalid invite code to the user diff -r 7db22d3e9eea -r 9345ea6af3b2 app/main/index/_action/register.lua --- a/app/main/index/_action/register.lua Sun Nov 20 19:47:07 2011 +0100 +++ b/app/main/index/_action/register.lua Sun Nov 27 13:31:05 2011 +0100 @@ -7,7 +7,7 @@ :exec() if not invite_code or invite_code.used then - slot.put_into("error", _"The code you've entered is invalid") + slot.put_into("error", _"The code you've entered is invalid" .. ": '" .. code .. "'") request.redirect{ mode = "forward", module = "index",