File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
1010 "strings"
1111 "time"
1212
13+ "filippo.io/csrf/gorilla"
1314 "github.com/NYTimes/gziphandler"
1415 "github.com/gophish/gophish/auth"
1516 "github.com/gophish/gophish/config"
@@ -21,7 +22,6 @@ import (
2122 "github.com/gophish/gophish/models"
2223 "github.com/gophish/gophish/util"
2324 "github.com/gophish/gophish/worker"
24- "filippo.io/csrf/gorilla"
2525 "github.com/gorilla/handlers"
2626 "github.com/gorilla/mux"
2727 "github.com/gorilla/sessions"
Original file line number Diff line number Diff line change 66 "net/http"
77 "strings"
88
9+ "filippo.io/csrf/gorilla"
910 ctx "github.com/gophish/gophish/context"
1011 "github.com/gophish/gophish/models"
11- "filippo.io/csrf/gorilla"
1212)
1313
1414// CSRFExemptPrefixes are a list of routes that are exempt from CSRF protection
You can’t perform that action at this time.
0 commit comments