aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
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))