]> code.citadel.org Git - citadel.git/blobdiff - webcit/auth.c
Lotsa stuff. See ChangeLog for details.
[citadel.git] / webcit / auth.c
index 2262fd189d0b0be081cf510f96302c6db15adf82..e48893bc059c1ca3dfd732bb12d7512a3d2b722d 100644 (file)
@@ -189,8 +189,7 @@ void do_logout(void) {
        strcpy(wc_roomname, "");
 
        printf("HTTP/1.0 200 OK\n");
-       printf("X-WebCit-Session: close\n");
-       output_headers(1);
+       output_headers(2);      /* note the "2" which causes cookies to be unset */
 
        wprintf("<CENTER>");    
        serv_puts("MESG goodbye");