Fix outdated login cookie name
1 files changed, 1 insertions(+), 1 deletions(-) M middleware.go
M middleware.go => middleware.go +1 -1
@@ 77,7 77,7 @@ func isForwardedHTTPS(req *http.Request) bool { func loginTokenMiddleware(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { cookie, _ := req.Cookie("sinwon-token") cookie, _ := req.Cookie(loginCookieName) if cookie == nil { next.ServeHTTP(w, req) return