Rename session cookie

This commit is contained in:
Pixeldrain-Server committed 2026-09-02 00:10:51 +02:00
1 parent f0ba6ac28f
commit 22d7b98794
2 files changed
+1 -24

No files matched your search

+1 -1
View File
@@ -256,7 +256,7 @@ func (wc *WebController) serveFile(path string) httprouter.Handle {
}
func (wc *WebController) getAPIKey(r *http.Request) (key string, err error) {
if cookie, err := r.Cookie("pd_auth_key"); err == nil {
if cookie, err := r.Cookie("nova_auth_key"); err == nil {
if len(cookie.Value) == 36 {
return cookie.Value, nil
}