Skip to content

Commit 9b19560

Browse files
committed
#28 - 좌측 사이드바에 로그인 회원 정보가 표시되도록 수정
지난 인증 기능 구현 단계에서 이 작업을 누락하였다. 인증 정보가 있는 상황에서 닉네임을 올바르게 표시해주도록 수정.
1 parent 05e48c0 commit 9b19560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/templates/layouts/layout-left-aside.th.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<thlogic>
33
<attr sel="#admin-logo-link" th:href="@{/}" />
4-
<attr sel="#user-profile" th:href="@{#}" />
4+
<attr sel="#user-profile" th:href="@{#}" sec:authorize="isAuthenticated()" sec:authentication="principal.nickname" />
55
<attr sel="#management-category" th:classappend="${#request.requestURI.startsWith('/management')} ? 'active'" />
66
<attr
77
sel="#article-management"

0 commit comments

Comments
 (0)