mirror of
https://github.com/mrfluffy-dev/PRG381.git
synced 2026-01-17 10:20:33 +00:00
added admin page
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user