2cc073d4612f50d0531225d6e94bdce4ded66372 chinhli Fri May 25 16:09:21 2012 -0700 Make confirmation mail vague. diff --git src/hg/hgLogin/hgLogin.c src/hg/hgLogin/hgLogin.c index 9dcdbd2..e04b450 100644 --- src/hg/hgLogin/hgLogin.c +++ src/hg/hgLogin/hgLogin.c @@ -258,42 +258,41 @@ int delay=nSec*100; hPrintf( "", delay, returnTo); } void displayMailSuccess() /* display mail success confirmation box */ { -//char *email = cartUsualString(cart, "hgLogin_email", ""); -char *obj=cartUsualString(cart, "hgLogin_helpWith", ""); hPrintf( "
An email has been sent to you \n" -// " %scontaining %s...
" - "containing %s..." - + "containing information that you requested." "\n" - "", obj); + ""); +cartRemove(cart, "hgLogin_helpWith"); +cartRemove(cart, "hgLogin_email"); +cartRemove(cart, "hgLogin_userName"); } void sendMailOut(char *email, char *subject, char *msg) /* send mail to email address */ { char *hgLoginHost = wikiLinkHost(); char *obj = cartUsualString(cart, "hgLogin_helpWith", ""); char cmd[4096]; safef(cmd,sizeof(cmd), "echo '%s' | mail -s \"%s\" %s" , msg, subject, email); int result = system(cmd); if (result == -1) { hPrintf( "