csrf protection

This commit is contained in:
2021-04-10 19:27:15 +02:00
parent ed48629a61
commit 66ef9e6d0c
9 changed files with 40 additions and 25 deletions

5
go.mod
View File

@ -5,13 +5,14 @@ go 1.14
require (
code.gitea.io/sdk/gitea v0.13.2
github.com/bwmarrin/discordgo v0.23.2
github.com/cornelk/hashmap v1.0.1
github.com/dchest/siphash v1.2.2 // indirect
github.com/dlclark/regexp2 v1.4.0
github.com/go-sql-driver/mysql v1.5.0
github.com/golang/protobuf v1.4.3 // indirect
github.com/gorilla/csrf v1.7.0
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.4.2 // indirect
github.com/mattn/go-sqlite3 v1.14.6
github.com/mitchellh/mapstructure v1.4.1
github.com/zaddok/moodle v0.6.6
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
golang.org/x/net v0.0.0-20210119194325-5f4716e94777 // indirect