added admin page

This commit is contained in:
Zastian Pretorius
2022-08-29 14:14:38 +01:00
parent a4b271e030
commit 7ab3526d50
8 changed files with 58 additions and 1 deletions

View File

@@ -41,6 +41,8 @@
<h1>Registration and Login with Spring Boot, Spring Security,
Thymeleaf, Hibernate and MySQL</h1>
Welcome <span sec:authentication="principal.username"> User</span>
<button type="button" class="btn btn-primary"
th:href="@{/admin}">admin</button>
</div>
</body>
</html>