From 9122ec18b085169ddb186aedd3d7fdfffa26fbbf Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 13 Nov 2024 19:43:44 +0100 Subject: [PATCH] dont show user creation form on spu page --- abrechenbarkeit.lua | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/abrechenbarkeit.lua b/abrechenbarkeit.lua index e683759..61e4d3c 100755 --- a/abrechenbarkeit.lua +++ b/abrechenbarkeit.lua @@ -532,14 +532,16 @@ end local function r_users(show_special) return respond(200, "Abrechenbarkeit", function() - print(format([[ -
-

{+index.form.create_user}

- - - -
- ]])) + if not show_special then + print(format([[ +
+

{+index.form.create_user}

+ + + +
+ ]])) + end print([[
]]) -- for printing print([[