summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roseh.moe.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/roseh.moe.go b/roseh.moe.go
index cce4714..cfcd0d9 100644
--- a/roseh.moe.go
+++ b/roseh.moe.go
@@ -590,7 +590,8 @@ type jellyfinReverseProxy struct {
func (p *jellyfinReverseProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {
if !cookieAuth(w, r) {
- redirectLogin(w, r, "https://cinema.roseh.moe")
+ // redirectLogin(w, r, "https://cinema.roseh.moe")
+ http.Error(w, "invalid cookie", http.StatusUnauthorized)
return
}
p.proxy.ServeHTTP(w, r)