🐛 Fixed context key name for token in ticket middleware

This commit is contained in:
Maxim Lebedev 2022-02-17 04:33:56 +05:00
parent a2420359fa
commit 000719af1c
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ func (h *RequestHandler) Register(r *router.Router) {
AuthScheme: "Bearer",
BeforeFunc: nil,
Claims: nil,
ContextKey: "user",
ContextKey: "token",
ErrorHandler: nil,
ErrorHandlerWithContext: nil,
ParseTokenFunc: nil,