add userpage

master
cynic 3 years ago
parent b9ef258580
commit 70501583d0
  1. 9
      towers/users.py

@ -1,5 +1,8 @@
hooks = [] hooks = ["http.*:\/\/users.$HOST.*"]
def run(ctx): def run(ctx, r):
pass return {
"content_type": "text/html",
"body": "<h1>all users registered on system</h1>"+("<br>".join(ctx.auth.get_real_users()))
}
Loading…
Cancel
Save