summaryrefslogtreecommitdiff
path: root/system/admin/server.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-22 01:39:19 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-22 01:39:19 -0700
commit735f99addd98f232ae126cac11d93a9dbbcc3c79 (patch)
treef8d3804f326fda466ac9ac91782228909ef05fd6 /system/admin/server.go
parent936b8aef13b164ce74f9ec11bf1385275d282df8 (diff)
adding initial support to edit and add admin users
Diffstat (limited to 'system/admin/server.go')
-rw-r--r--system/admin/server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/admin/server.go b/system/admin/server.go
index b3b128d..c22c278 100644
--- a/system/admin/server.go
+++ b/system/admin/server.go
@@ -20,6 +20,8 @@ func Run() {
http.HandleFunc("/admin/configure", user.Auth(configHandler))
http.HandleFunc("/admin/configure/users", user.Auth(configUsersHandler))
+ http.HandleFunc("/admin/configure/users/edit", user.Auth(configUsersEditHandler))
+ http.HandleFunc("/admin/configure/users/delete", user.Auth(configUsersDeleteHandler))
http.HandleFunc("/admin/posts", user.Auth(postsHandler))
http.HandleFunc("/admin/posts/search", user.Auth(searchHandler))