aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/install.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/install.go')
-rw-r--r--cmd/web/install.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/web/install.go b/cmd/web/install.go
index aae4191..63faaf6 100644
--- a/cmd/web/install.go
+++ b/cmd/web/install.go
@@ -83,6 +83,11 @@ func installer(urls <-chan string) {
}
func gameInstaller(w http.ResponseWriter, r *http.Request) {
+ if unauthorizedIfNotLocal(w, r) {
+ return
+ }
+
+
err := r.ParseForm()
if err != nil {
Logger.Printf("Installer: While parsing form: %s", err)