A dead simple real time webchat with authorization using websockets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
542 B

2 years ago
{{ template "base" . }}
{{ define "content" }}
<h3>Register</h3>
<form name="auth_form" onsubmit="return false;">
<p>
<label for="username">Username</label> <br>
<input type="text" name="username" required minlength="3">
</p>
<p>
<label for="password">Password</label> <br>
<input type="password" name="password" required minlength="3">
</p>
<p>
<input type="submit" value="Register" onmouseup="register()">
</p>
</form>
<script src="/scripts/user.js"></script>
{{ end }}