fix: need to trim upper and lower case

This commit is contained in:
Derrick Hammer 2024-02-12 00:39:58 -05:00
parent fb752f1f3a
commit 3565331a58
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ func parseAuthTokenHeader(headers http.Header) string {
} }
authHeader = strings.TrimPrefix(authHeader, "Bearer ") authHeader = strings.TrimPrefix(authHeader, "Bearer ")
authHeader = strings.TrimPrefix(authHeader, "bearer ")
return authHeader return authHeader
} }