Skip to content

Commit

Permalink
Merge pull request #19848 from phillip-kruger/keycloak-dev-ui-logout-fix
Browse files Browse the repository at this point in the history
Dev UI Keykloak - Make the logout button visible
  • Loading branch information
phillip-kruger authored Sep 2, 2021
2 parents a617b3c + fab4d70 commit b4bf49f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
userName = jsonPayload.preferred_username;
}
if (userName) {
$('#loggedInUser').append("<i class='fas fa-lock fa-xs'></i> Logged in as " + userName);
$('#loggedInUser').append("Logged in as " + userName + " ");
}
}
return "<pre class='text-danger' title='Header'>" +
Expand Down Expand Up @@ -289,8 +289,9 @@
Your tokens
</div>
<div class="float-right">
<a id="loggedInUser" onclick="logout();" class="btn btn-link" title="Click to logout and start again">

<span id="loggedInUser"></span>
<a onclick="logout();" class="btn btn-link" title="Click to logout and start again">
<i class="fas fa-sign-out-alt"></i>
</a>
</div>
</div>
Expand Down

0 comments on commit b4bf49f

Please sign in to comment.