fix: strip out token
This commit is contained in:
parent
6eab62d128
commit
276b43ddd0
|
@ -258,6 +258,8 @@ func parseAuthTokenHeader(headers http.Header) string {
|
||||||
|
|
||||||
authHeader = strings.TrimPrefix(authHeader, "Bearer ")
|
authHeader = strings.TrimPrefix(authHeader, "Bearer ")
|
||||||
authHeader = strings.TrimPrefix(authHeader, "bearer ")
|
authHeader = strings.TrimPrefix(authHeader, "bearer ")
|
||||||
|
authHeader = strings.TrimPrefix(authHeader, "Token ")
|
||||||
|
authHeader = strings.TrimPrefix(authHeader, "token ")
|
||||||
|
|
||||||
return authHeader
|
return authHeader
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue