Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenny committed Mar 28, 2020
1 parent 3a1754a commit 6e914c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func New(config ...Config) func(*fiber.Ctx) {
cfg.Claims = jwt.MapClaims{}
}
if cfg.TokenLookup == "" {
cfg.TokenLookup = "header" + fiber.HeaderAuthorization
cfg.TokenLookup = "header:" + fiber.HeaderAuthorization
}
if cfg.AuthScheme == "" {
cfg.AuthScheme = "Bearer"
Expand Down

0 comments on commit 6e914c8

Please sign in to comment.