b9bd7488e55a3124bb617290eccee4b544ce8600 gperez2 Sun Sep 27 16:03:24 2026 -0700 Updating hgLogin's change-recovery-email description wording: adding GitHub and CILogon and dropping ORCID from the sign-in options it names, and matching existing "sign-in options" phrasing instead of "buttons", refs #38197 diff --git src/hg/hgLogin/hgLogin.c src/hg/hgLogin/hgLogin.c index 431b4643002..6db7e58a0b9 100644 --- src/hg/hgLogin/hgLogin.c +++ src/hg/hgLogin/hgLogin.c @@ -1615,34 +1615,34 @@ sqlFreeResult(&sr); sqlSafef(query, sizeof(query), "SELECT password FROM gbMembers WHERE userName='%s'", user); boolean hasPassword = isNotEmpty(sqlQuickString(conn, query)); char *encUser = htmlEncode(user); char *encCurRecov = htmlEncode(isNotEmpty(curRecov) ? curRecov : "(none)"); hPrintf("<div id=\"changeRecovEmailBox\" class=\"centeredContainer formBox\">" "<h2>%s</h2>", brwName); hPrintf("<h3>Change recovery email</h3>"); hPrintf("<p><span style='color:red;'>%s</span></p>", errMsg ? errMsg : ""); hPrintf("<form method=\"post\" action=\"%s\" name=\"changeRecovEmailForm\">", hgLoginUrl); hPrintf("<p>Signed in as <b>%s</b>.<br>Current recovery email address: <b>%s</b>%s</p>", encUser, encCurRecov, (isNotEmpty(curRecov) && !curConfirmed) ? " (waiting to be confirmed)" : ""); hPrintf("<p style=\"font-size:0.9em\">You can add a second email address to get back into " - "your account. Once confirmed, it can sign you in, including through the Google and " - "ORCID buttons, and it will get a copy of the password-reset email whenever one is sent " - "for this account. We will email a confirmation link to the new address. Until that " - "link is opened, the email address cannot be used to sign in and will not receive a " + "your account. Once confirmed, it can sign you in, including through the Google, GitHub, " + "and CILogon sign-in options, and it will get a copy of the password-reset email whenever " + "one is sent for this account. We will email a confirmation link to the new address. Until " + "that link is opened, the email address cannot be used to sign in and will not receive a " "password-reset email.%s</p>", isNotEmpty(curRecov) ? " Your current recovery email address keeps working until then." : ""); freeMem(encUser); freeMem(encCurRecov); if (hasPassword) hPrintf("<div class=\"inputGroup\">" "<label for=\"curPassword\">Current password</label>" "<input type=\"password\" name=\"hgLogin_curPassword\" value=\"\" size=\"30\" " "id=\"curPassword\">" "</div>"); hPrintf("<div class=\"inputGroup\">" "<label for=\"newRecovEmail1\">New recovery email address</label>" "<input type=\"text\" name=\"hgLogin_newRecovEmail1\" value=\"\" size=\"30\" " "id=\"newRecovEmail1\">" "</div>");