X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fauth.c;h=69d7f8c98cf8c77490a84b07d65927672b1b006f;hb=dcd87d6d9ec8ee766717161ffe13c74ec25c4136;hp=66ae1803d03ea6239048e3f342762415eec6bad2;hpb=3c06334746f3a838925cbc29708f5c0edb9b08d8;p=citadel.git diff --git a/webcit/auth.c b/webcit/auth.c index 66ae1803d..69d7f8c98 100644 --- a/webcit/auth.c +++ b/webcit/auth.c @@ -34,7 +34,7 @@ void display_login(char *mesg) { char buf[256]; printf("HTTP/1.0 200 OK\n"); - output_headers(1); + output_headers(1, "_top"); /* Da banner */ wprintf("
\n"); @@ -167,7 +167,7 @@ void do_login(void) { void do_welcome(void) { printf("HTTP/1.0 200 OK\n"); - output_headers(1); + output_headers(1, "bottom"); wprintf("

"); escputs(wc_username); wprintf("

\n"); @@ -192,7 +192,7 @@ void do_logout(void) { strcpy(wc_roomname, ""); printf("HTTP/1.0 200 OK\n"); - output_headers(2); /* note the "2" which causes cookies to be unset */ + output_headers(2, "_top"); /* note "2" causes cookies to be unset */ wprintf("
"); serv_puts("MESG goodbye"); @@ -222,7 +222,7 @@ void validate(void) { int a; printf("HTTP/1.0 200 OK\n"); - output_headers(1); + output_headers(1, "bottom"); strcpy(buf,bstr("user")); if (strlen(buf)>0) if (strlen(bstr("axlevel"))>0) { @@ -293,7 +293,7 @@ void display_reg(int during_login) { int a; printf("HTTP/1.0 200 OK\n"); - output_headers(1); + output_headers(1, "bottom"); wprintf("
"); wprintf("
"); wprintf("