fix: Affichage dynamique utilisateur et déconnexion Keycloak
- UserSessionBean: Getters dynamiques pour nom, email, rôle - Suppression @PostConstruct pour récupération temps réel - Déconnexion: Redirection directe vers Keycloak logout endpoint - Topbar: Bouton logout avec p:commandButton ajax=false 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -107,10 +107,11 @@
|
||||
</li>
|
||||
<li>
|
||||
<h:form>
|
||||
<h:commandLink action="#{userSession.deconnecter()}" styleClass="logout-link">
|
||||
<i class="pi pi-sign-out"></i>
|
||||
<span>Logout</span>
|
||||
</h:commandLink>
|
||||
<p:commandButton action="#{userSession.deconnecter()}"
|
||||
value="Logout"
|
||||
styleClass="logout-link p-button-text"
|
||||
ajax="false"
|
||||
icon="pi pi-sign-out"/>
|
||||
</h:form>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user