summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roseh.moe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roseh.moe.go b/roseh.moe.go
index 4473ee2..206679b 100644
--- a/roseh.moe.go
+++ b/roseh.moe.go
@@ -899,7 +899,7 @@ type nezukoHandler struct {
func (h *nezukoHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if !cookieAuth(w, r) {
- redirectLogin(w, r, "/nezuko")
+ redirectLogin(w, r, r.URL.Path)
return
}
h.srv.ServeHTTP(w, r)