fix: changing the bootstrapping suggestion to the command (#35616)

closes: #35526

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
This commit is contained in:
Steven Hawkins 2024-12-05 08:31:53 -05:00 committed by GitHub
parent 32df3da9de
commit 4c7dea5d70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@ public class WelcomeResource {
}
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() {

View File

@ -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>