diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-22 02:17:29 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-22 02:17:29 -0700 |
commit | 7f06b2f269e6d87e82131395cc9090a7a95753b5 (patch) | |
tree | 37608c4107f362b46e00e8897c3eddc578447fff /system/admin/admin.go | |
parent | f6f50b620e7f4a4ba25f4cb24fc8ea52e2b97975 (diff) |
adding initial support to edit and add admin users
Diffstat (limited to 'system/admin/admin.go')
-rw-r--r-- | system/admin/admin.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/admin/admin.go b/system/admin/admin.go index 4a72af0..a5ced6d 100644 --- a/system/admin/admin.go +++ b/system/admin/admin.go @@ -5,6 +5,7 @@ package admin import ( "bytes" "encoding/json" + "fmt" "html/template" "net/http" @@ -356,6 +357,8 @@ func UsersList(req *http.Request) ([]byte, error) { "Users": usrs, } + fmt.Println(data) + err = tmpl.Execute(buf, data) if err != nil { return nil, err |