summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
}