Skip to content

Commit

Permalink
fix: changing the bootstrapping suggestion to the command (keycloak#3…
Browse files Browse the repository at this point in the history
…5616)

closes: keycloak#35526

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
  • Loading branch information
shawkins authored Dec 5, 2024
1 parent 32df3da commit 4c7dea5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ private Theme getTheme() {
}

protected String getAdminCreationMessage() {
return "or set the environment variables KC_BOOTSTRAP_ADMIN_USERNAME and KC_BOOTSTRAP_ADMIN_PASSWORD before starting the server";
return "or use a bootstrap-admin command";
}

private boolean shouldBootstrap() {
Expand Down
2 changes: 1 addition & 1 deletion themes/src/main/resources/theme/keycloak/welcome/index.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
</div>
</form>
<#else>
<p>To create the temporary administrative user open <a href="${localAdminUrl}">${localAdminUrl}</a>, or set the environment variables <code>KC_BOOTSTRAP_ADMIN_USERNAME</code> and <code>KC_BOOTSTRAP_ADMIN_PASSWORD</code> when starting the server.</p>
<p>To create the temporary administrative user open <a href="${localAdminUrl}">${localAdminUrl}</a>, or use a <code>bootstrap-admin</code> command.</p>
</#if>
</#if>
</div>
Expand Down

0 comments on commit 4c7dea5

Please sign in to comment.