fc41b9864400d6030806ea0188221ed0646cb28a lrnassar Fri Oct 3 16:48:20 2025 -0700 Adding a line break so the API key doesn't show up just below the text, refs #36428 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 3d4f8333071..a9fae7b6897 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -436,31 +436,31 @@ puts("
"); puts("

Hubtools API key

"); char *userName = wikiLinkUserName(); char *userId = wikiLinkUserId(); if (userName==NULL || userId==NULL) { char *hgsid = cartSessionId(cart); char *loginUrl = wikiLinkUserLoginUrlReturning(hgsid, wikiLinkEncodeReturnUrl(hgsid, "hgHubConnect", "#dev")); printf("
You are not logged in. Please Login now, then this page will show the API key.
", loginUrl); } else { char *existingKey = getApiKey(userName); if (existingKey) { - puts("
You have already generated an api key for use in hubtools. If you would like to generate a new key (which automatically revokes old keys), please click 'generate key'. Otherwise, you can copy and paste the below key to your ~/.hubtools.conf file:
"); + puts("
You have already generated an api key for use in hubtools. If you would like to generate a new key (which automatically revokes old keys), please click 'generate key'. Otherwise, you can copy and paste the below key to your ~/.hubtools.conf file:

"); puts("
"); printf("%s\n", existingKey); puts("
"); puts("
"); puts("
Generate an api key
"); } else { puts("
To use the hubtools up command, click 'generate key'"); puts("
"); printf("
Now, create a file ~/.hubtools.conf and add the key:
\n", existingKey != NULL ? "block" : "none"); puts("
"); puts("
"); } printf("
\nTo revoke any apiKeys associated with your account, click the revoke button: \n
", existingKey != NULL ? "block" : "none");