Migrate to cookie based session (secure cookie)
finish sign-in sign-up
This commit is contained in:
1 parent
8661c0081d
commit
bc1095fc61
7 files changed
+114
-30
No files matched your search
@@ -0,0 +1,10 @@
|
||||
{{ define "title" }}Sign Up{{ end }}
|
||||
{{ define "main" }}
|
||||
<h1>Sign In</h1>
|
||||
<form action="/signin" method="POST">
|
||||
<label>Email: <input type="text" name="email"></label><br>
|
||||
<label>Password: <input type="password" name="password"></label><br>
|
||||
{{ with .Error }}<p class="error">{{ . }}</p>{{ end }}
|
||||
<input type="submit" value="Sign Up">
|
||||
</form>
|
||||
{{ end }}
|
||||
Reference in new issue
Block a user