diff options
Diffstat (limited to 'juick-spring-www/src/main/webapp/WEB-INF/templates/layout')
-rw-r--r-- | juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/navigation.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/navigation.html b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/navigation.html index 2317369c..3b2d3bff 100644 --- a/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/navigation.html +++ b/juick-spring-www/src/main/webapp/WEB-INF/templates/layout/partial/navigation.html @@ -14,7 +14,7 @@ </form> </div> <section id="headdiv"> - <th:block th:if="${#authorization.expression('hasRole(''ROLE_USER'')')}"> + <th:block th:if="${#authorization.expression('isAuthenticated()')}"> <nav id="user"> <ul> <li> @@ -48,7 +48,7 @@ </ul> </nav> </th:block> - <th:block th:if="${#authorization.expression('hasRole(''ROLE_ANONYM'')')}"> + <th:block th:if="${#authorization.expression('isAnonymous()')}"> <p>[(#{message.loginForSending(@{/login})})]</p> </th:block> </section> |