5f7a14fde8cdb24b01fc0e5eadba145bfd9ecb04
max
Sat Jul 25 23:16:06 2026 -0700
hgLogin: social login (Google/ORCID), email login link, change email. refs #37929
diff --git src/hg/hgSession/hgSession.c src/hg/hgSession/hgSession.c
index eb96e088e86..5837b6a1040 100644
--- src/hg/hgSession/hgSession.c
+++ src/hg/hgSession/hgSession.c
@@ -77,34 +77,38 @@
{
char *wikiHost = wikiLinkHost();
cartWebStart(cart, NULL, "Welcome %s", wikiUserName);
jsInit();
jsIncludeDataTablesLibs();
if (loginSystemEnabled()) /* Using the new hgLogin CGI for login */
{
printf("
Your Account Information
"
""
"- Username: %s
",wikiUserName);
if (loginUseBasicAuth())
- printf("- The Genome Browser is configured to use HTTP Basic Authentication, so the password cannot be changed here.
");
+ printf("The Genome Browser is configured to use HTTP Basic Authentication, so the password cannot be changed here.");
else
- printf("Change password",
+ printf("Change password",
wikiLinkChangePasswordUrl(cartSessionId(cart)));
+ char *changeEmailUrl = wikiLinkChangeEmailUrl(cartSessionId(cart));
+ if (changeEmailUrl != NULL)
+ printf("Change email", changeEmailUrl);
+ printf("");
printf("Sign out
",
wikiLinkUserLogoutUrl(cartSessionId(cart)));
if (loginUseBasicAuth())
wikiFixLogoutLinkWithJs();
}
else
/* this part is not used anymore at UCSC since 2014 */
{
printf("If you are not %s (on the wiki at "
"%s) "
"and would like to sign out or change identity, \n",
wikiUserName, wikiHost, wikiHost);