projects
/
blerg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
79fccce
)
Expire auth cookie on logout
author
Chip Black
<bytex64@bytex64.net>
Thu, 31 Jul 2014 04:43:48 +0000
(23:43 -0500)
committer
Chip Black
<bytex64@bytex64.net>
Thu, 31 Jul 2014 04:52:27 +0000
(23:52 -0500)
cgi/cgi_blerg.c
patch
|
blob
|
history
diff --git
a/cgi/cgi_blerg.c
b/cgi/cgi_blerg.c
index
9df908b
..
8f502a2
100644
(file)
--- a/
cgi/cgi_blerg.c
+++ b/
cgi/cgi_blerg.c
@@
-341,6
+341,7
@@
int main(int argc, char *argv[]) {
exit(0);
auth_logout(ac.name, ac.token);
+ printf("Set-Cookie: auth=X; Expires=Thu, 01 Jan 1970 00:00:00 GMT\r\n");
respond_JSON_Success();
} else if (strncmp(path, "/subscribe", 10) == 0) {
if (!check_auth(&ac))