diff options
| author | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-20 22:02:32 +0530 |
|---|---|---|
| committer | Kamal Wickramanayake <kamal@inbox.lk> | 2026-06-20 22:02:32 +0530 |
| commit | 69b18c1fe1d7d876c86de850b716de396877ad9d (patch) | |
| tree | 832330933dccb4848ba0ff89a9f4f5953b3da3e7 /spring-boot/10-role-based-security/src/main/resources/templates/layout/main.html | |
| parent | 59c2d3502259b338c36991ced8dc25d8dc9713b1 (diff) | |
A list of users are shown. Added error pages.
Diffstat (limited to 'spring-boot/10-role-based-security/src/main/resources/templates/layout/main.html')
| -rw-r--r-- | spring-boot/10-role-based-security/src/main/resources/templates/layout/main.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spring-boot/10-role-based-security/src/main/resources/templates/layout/main.html b/spring-boot/10-role-based-security/src/main/resources/templates/layout/main.html index df96fc5..0b20361 100644 --- a/spring-boot/10-role-based-security/src/main/resources/templates/layout/main.html +++ b/spring-boot/10-role-based-security/src/main/resources/templates/layout/main.html @@ -18,7 +18,7 @@ <ul> <li><a th:href="@{/}">Home</a></li> <li><a th:href="@{/contact}">Contact Us</a></li> - <li sec:authorize="hasRole('ADMIN')"><a th:href="@{/admin}">Admin</a></li> + <li sec:authorize="hasRole('ADMIN')"><a th:href="@{/security/users}">Users</a></li> <li sec:authorize="isAuthenticated()"><a th:href="@{/profile/{name}(name=${#authentication.name})}">Profile</a></li> <li sec:authorize="isAuthenticated()"><a th:href="@{/logout}">Logout</a></li> </ul> |
