feat: #337 unify types for auth module
This commit was merged in pull request #338.
This commit is contained in:
@@ -6,15 +6,16 @@ import (
|
||||
"strings"
|
||||
|
||||
"me-fit/service"
|
||||
"me-fit/types"
|
||||
)
|
||||
|
||||
type csrfResponseWriter struct {
|
||||
http.ResponseWriter
|
||||
auth service.Auth
|
||||
session *service.Session
|
||||
session *types.Session
|
||||
}
|
||||
|
||||
func newCsrfResponseWriter(w http.ResponseWriter, auth service.Auth, session *service.Session) *csrfResponseWriter {
|
||||
func newCsrfResponseWriter(w http.ResponseWriter, auth service.Auth, session *types.Session) *csrfResponseWriter {
|
||||
return &csrfResponseWriter{
|
||||
ResponseWriter: w,
|
||||
auth: auth,
|
||||
|
||||
Reference in New Issue
Block a user