diff --git a/frontend b/frontend index d004015f..e370fbe5 160000 --- a/frontend +++ b/frontend @@ -1 +1 @@ -Subproject commit d004015f0335a4674b4440613086da94de506b7e +Subproject commit e370fbe5007c715c994fbc8716fa193d4e2dc3bb diff --git a/http/auth.go b/http/auth.go index db58bba1..3cd84b5f 100644 --- a/http/auth.go +++ b/http/auth.go @@ -30,7 +30,7 @@ type authToken struct { type extractor []string func (e extractor) ExtractToken(r *http.Request) (string, error) { - token, _ := request.AuthorizationHeaderExtractor.ExtractToken(r) + token, _ := request.HeaderExtractor{"X-Auth"}.ExtractToken(r) // Checks if the token isn't empty and if it contains two dots. // The former prevents incompatibility with URLs that previously