summaryrefslogtreecommitdiff
path: root/system/admin/handlers.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-22 03:02:33 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-22 03:02:33 -0700
commite390d82eacb4047a62e57bb3660e2682037a2dd9 (patch)
tree27b188cf76cd26bbc29561cf04c0691c36f5240b /system/admin/handlers.go
parentf0d0c08fcc7df98d78927cb09d6d9abc10f5caaa (diff)
implementing handlers for user configuration
Diffstat (limited to 'system/admin/handlers.go')
-rw-r--r--system/admin/handlers.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index 55afaf4..dc67018 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -313,6 +313,8 @@ func configUsersEditHandler(res http.ResponseWriter, req *http.Request) {
return
}
+ http.Redirect(res, req, req.URL.String(), http.StatusFound)
+
default:
res.WriteHeader(http.StatusMethodNotAllowed)
}
@@ -379,6 +381,8 @@ func configUsersDeleteHandler(res http.ResponseWriter, req *http.Request) {
return
}
+ http.Redirect(res, req, req.URL.String(), http.StatusFound)
+
default:
res.WriteHeader(http.StatusMethodNotAllowed)
}