aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2023-01-15 03:02:58 +0100
committerJulian Hurst <ark@mansus.space>2023-01-15 03:02:58 +0100
commit903e828eed3233bf6e4962aa71d70d130834d77a (patch)
treefa7726d6a02172a19dba718a16dd506725613580 /main.go
parent85e011deb24572621803080cfbb9e787f1300775 (diff)
downloaddocspace-903e828eed3233bf6e4962aa71d70d130834d77a.tar.gz
Remove useless log
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.go b/main.go
index bb47d27..e61172c 100644
--- a/main.go
+++ b/main.go
@@ -357,7 +357,6 @@ func login(w http.ResponseWriter, r *http.Request) {
}
http.SetCookie(w, &cookie)
redirectflash := consumeFlash(w, r, "redirect")
- log.Printf("read redirect: %s\n", redirectflash)
http.Redirect(w, r, redirectflash, http.StatusSeeOther)
default:
sendInvalidMethod(w, r)