b3d3508ee7542e3402886a7b16cac72bacf6e62e chinhli Thu Mar 29 16:15:39 2012 -0700 Finished ser/reset Cookies diff --git src/hg/lib/hgLoginLink.c src/hg/lib/hgLoginLink.c index 3f57391..fad57b1 100644 --- src/hg/lib/hgLoginLink.c +++ src/hg/lib/hgLoginLink.c @@ -82,20 +82,22 @@ freez(&retEnc); /* DEBUG: */ printf("<BR>DEBUG in hgLoginLink Z: cloneString(buf) is%s<BR>",cloneString(buf)); return(cloneString(buf)); } char *hgLoginLinkUserLogoutUrl(int hgsid) /* Return the URL for the hgLogin user logout page. */ { char buf[2048]; char *retEnc = encodedHgSessionReturnUrl(hgsid); if (! hgLoginLinkEnabled()) errAbort("hgLoginLinkUserLogoutUrl called when hgLogin is not enable (specified " "in hg.conf)."); safef(buf, sizeof(buf), - "http://%s/index.php?title=Special:UserlogoutUCSC&returnto=%s", + /* "http://%s/index.php?title=Special:UserlogoutUCSC&returnto=%s", + * */ + "http://%s/cgi-bin/hgLogin?hgLogin.do.displayLogout=1&returnto=%s", hgLoginLinkHost(), retEnc); freez(&retEnc); return(cloneString(buf)); }