summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/admin/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/admin/handlers.go b/system/admin/handlers.go
index c70dd86..bc46b5c 100644
--- a/system/admin/handlers.go
+++ b/system/admin/handlers.go
@@ -69,7 +69,7 @@ func initHandler(res http.ResponseWriter, req *http.Request) {
}
// get the site name from post to encode and use as secret
- name := []byte(req.FormValue("name"))
+ name := []byte(req.FormValue("name") + db.NewEtag())
secret := base64.StdEncoding.EncodeToString(name)
req.Form.Set("client_secret", secret)