Skip to content

Commit 07cb069

Browse files
committed
Merge pull request #29 from getlantern/multiauthtoken
Moved mimic to right place in tokenfilter.go
2 parents 96a6260 + 9d28fb4 commit 07cb069

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokenfilter/tokenfilter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (f *TokenFilter) ServeHTTP(w http.ResponseWriter, req *http.Request) {
7171
f.next.ServeHTTP(w, req)
7272
} else {
7373
log.Debugf("Mismatched token(s) %s from %s, mimicking apache", strings.Join(tokens, ","), req.RemoteAddr)
74+
mimic.MimicApache(w, req)
7475
}
75-
mimic.MimicApache(w, req)
7676
}
7777
}

0 commit comments

Comments
 (0)