updated tempadmin panel with right info

This commit is contained in:
mrjvs 2018-10-12 21:36:07 +02:00
parent ffbaf34772
commit 88d61288fa

View File

@ -7,19 +7,21 @@
<h1>Admin panel here</h1>
<h2>register</h2>
<form action="/admin/register" method="POST">
<form action="/admin/api/v1/register" method="POST">
<input type="text" name="username">
<input type="text" name="password">
<button>submit register</button>
</form>
<h2>login</h2>
<form action="/admin/login" method="POST">
<form action="/admin/api/v1/login" method="POST">
<input type="text" name="username">
<input type="text" name="password">
<button>submit login</button>
</form>
<a href="/admin/api/v1/check">Check if logged in</a>
{{> footer }}
</body>
</html>