summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-09-20 18:07:43 -0700
committerRose Hogenson <rosehogenson@posteo.net>2025-09-20 18:07:43 -0700
commitdf82026872e73e58a8efa515f23ccb903bf7b311 (patch)
tree8d6594245128f7b3df182038f014d0a078ae2c5a
parent3a272baf38e1fe8a50be0cb0c1e4d330e7c256d3 (diff)
downloadroseh.moe-df82026872e73e58a8efa515f23ccb903bf7b311.tar.zst
Allow basic auth for manual save
-rw-r--r--roseh.moe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roseh.moe.go b/roseh.moe.go
index da88003..e0b3428 100644
--- a/roseh.moe.go
+++ b/roseh.moe.go
@@ -255,7 +255,7 @@ func autosave(w http.ResponseWriter, r *http.Request) {
}
func manualSave(w http.ResponseWriter, r *http.Request) {
- if !cookieAuth(w, r) {
+ if !basicAuth(w, r) {
return
}
content := r.FormValue("content")