auth/login: Add csrf protection

This commit is contained in:
Tom Wiesing 2022-12-22 15:49:06 +01:00
parent 3aa79b0d23
commit 1af9d0d83f
No known key found for this signature in database
6 changed files with 42 additions and 8 deletions

View file

@ -23,6 +23,7 @@
<input type="text" name="username">
<input type="password" name="password">
{{ .CSRF }}
<input type="submit" value="Login">
</fieldset>
</form>