bcd859ab10728a7e4998c379ea76cbb7df36c7ca max Wed Feb 14 12:39:18 2018 -0800 hgLogin, fixing case where email not sent if user types in recovery email, refs #20888 diff --git src/hg/hgLogin/hgLogin.c src/hg/hgLogin/hgLogin.c index 741169f..e29ccfc 100644 --- src/hg/hgLogin/hgLogin.c +++ src/hg/hgLogin/hgLogin.c @@ -406,31 +406,31 @@ if (sameString(returnAddr, "NOEMAIL")) hPrintf("
If you still have questions, you can contact the Genome Browser team at " "genome-www@soe.ucsc.edu. As this is a mirror website not managed by UCSC, please " "specify the address of the mirror in your email.
"); hPrintf("\n", hgLoginUrl); cartRemove(cart, "hgLogin_helpWith"); cartRemove(cart, "hgLogin_email"); cartRemove(cart, "hgLogin_userName"); cartRemove(cart, "hgLogin_sendMailTo"); cartRemove(cart, "hgLogin_sendMailContain"); } void sendMailOut(char *email, char *subject, char *msg) -/* send mail to email address */ +/* send username reminder email to email address */ { char *obj = cartUsualString(cart, "hgLogin_helpWith", ""); int result; result = mailViaPipe(email, subject, msg, returnAddr); if (result == -1) { hPrintf( "" "
" "