296345a5b609ce441cc32982d4bde521c76c09d5
max
Wed Mar 27 04:09:01 2019 -0700
fixing hgLogin bug, this is the minimal change to fix the bug, refs #23202
diff --git src/hg/hgLogin/hgLogin.c src/hg/hgLogin/hgLogin.c
index ad269ba..636c273 100644
--- src/hg/hgLogin/hgLogin.c
+++ src/hg/hgLogin/hgLogin.c
@@ -1066,31 +1066,30 @@
return;
}
setupNewAccount(conn, email, user);
/* send out activate code mail, and display the mail confirmation box */
hPrintf("
%s
", brwName);
hPrintf(
"\n"
"
\n"
"User %s successfully added.
\n", user);
cartRemove(cart, "hgLogin_email");
cartRemove(cart, "hgLogin_email2");
cartRemove(cart, "hgLogin_userName");
cartRemove(cart, "user");
cartRemove(cart, "token");
-returnToURL(150);
}
void accountHelp(struct sqlConnection *conn)
/* email user username(s) or new password */
{
char query[256];
char *email = cartUsualString(cart, "hgLogin_email", "");
char *username = cartUsualString(cart, "hgLogin_userName", "");
char *helpWith = cartUsualString(cart, "hgLogin_helpWith", "");
/* Forgot username */
if (sameString(helpWith,"username"))
{
if (sameString(email,""))
{