From e390d82eacb4047a62e57bb3660e2682037a2dd9 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sat, 22 Oct 2016 03:02:33 -0700 Subject: implementing handlers for user configuration --- system/admin/handlers.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'system') 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) } -- cgit v1.2.3