This commit is contained in:
Matthew Dillon 2015-04-21 11:07:30 -08:00
parent dc58eb70a2
commit 83f2908a95
4 changed files with 34 additions and 19 deletions

View file

@ -44,7 +44,7 @@ func main() {
Auth: authFunc,
Claims: claimsFunc,
}
j, err := jwt.NewMiddleware(config)
j, err := jwt.New(config)
if err != nil {
panic(err)
}