We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05e48c0 commit 9b19560Copy full SHA for 9b19560
src/main/resources/templates/layouts/layout-left-aside.th.xml
@@ -1,7 +1,7 @@
1
<?xml version="1.0"?>
2
<thlogic>
3
<attr sel="#admin-logo-link" th:href="@{/}" />
4
- <attr sel="#user-profile" th:href="@{#}" />
+ <attr sel="#user-profile" th:href="@{#}" sec:authorize="isAuthenticated()" sec:authentication="principal.nickname" />
5
<attr sel="#management-category" th:classappend="${#request.requestURI.startsWith('/management')} ? 'active'" />
6
<attr
7
sel="#article-management"
0 commit comments