diff --git a/server/src/handler/login.go b/server/src/handler/login.go index 1ffe769..b138cab 100644 --- a/server/src/handler/login.go +++ b/server/src/handler/login.go @@ -19,6 +19,11 @@ func (authMux *AuthMux) createCookie() *http.Cookie { func (authMux *AuthMux) Logout(w http.ResponseWriter, r *http.Request) { http.SetCookie(w, authMux.createCookie()) + + cameoCookie := authMux.createCookie() + cameoCookie.Name = cameoCookie.Name + "-cameo" + http.SetCookie(w, cameoCookie) + w.Header().Add("Content-Type", "text/plain") fmt.Fprintf(w, "ok") }