aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-09 18:28:42 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-09 18:28:42 +0100
commit13222204392009e07382eecb908b7e6e01155ec4 (patch)
tree5295169a49765d9649be96d3bc599ce73c6640a0 /main.go
parente9140c5a66ff9035dc973e93aad9c0ed909b6f13 (diff)
downloadguichet-13222204392009e07382eecb908b7e6e01155ec4.tar.gz
guichet-13222204392009e07382eecb908b7e6e01155ec4.zip
User list
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index 9717167..29da525 100644
--- a/main.go
+++ b/main.go
@@ -108,6 +108,10 @@ func main() {
http.HandleFunc("/profile", handleProfile)
http.HandleFunc("/passwd", handlePasswd)
+ http.HandleFunc("/admin/users", handleAdminUsers)
+ //http.HandleFunc("/admin/groups", handleAdminGroups)
+ //http.HandleFunc("/admin/ldap", handleAdminLDAP)
+
staticfiles := http.FileServer(http.Dir("static"))
http.Handle("/static/", http.StripPrefix("/static/", staticfiles))