Add csrf protection
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
Welcome back!
|
||||
</h1>
|
||||
<form action="/signin" method="post">
|
||||
{{.CSRFField}}
|
||||
<div class="py-2">
|
||||
<label for="email" class="text-sm font-semibold text-gray-800">
|
||||
Email Address
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
Sign Up!
|
||||
</h1>
|
||||
<form action="/signup" method="post">
|
||||
{{.CSRFField}}
|
||||
<div>
|
||||
<label for="signupEmail" class="text-sm font-semibold text-gray-800">Email Address</label>
|
||||
<input name="email" id="signupEmail" type="email" placeholder="Email address" required autocomplete="email"
|
||||
|
||||
Reference in New Issue
Block a user